/*
Theme Name: BrandSolutions WM 2026
Description: Ein modernes WordPress-Theme für Sportmarketing-Lösungen zur WM 2026. Entwickelt für maximale Markenpräsenz und Conversion-Optimierung.
Author: BrandSolutions Team
Version: 1.0
Text Domain: brandsolutions-wm2026
Tags: business, sports, marketing, responsive, modern
Requires at least: 5.0
Tested up to: 6.6
Requires PHP: 7.4
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

/* WICHTIG: Header ohne abgerundete Ecken */
.site,
#page,
header,
#masthead,
.site-header {
    border-radius: 0 !important;
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    -webkit-border-radius: 0 !important;
    -moz-border-radius: 0 !important;
}

/* ========================================
   CSS VARIABLES & RESET
======================================== */

:root {
    --primary: #0066cc;
    --secondary: #ff4d00;
    --dark: #183153;
    --light: #f5f9ff;
    --success: #28a745;
    --text-primary: #333;
    --text-secondary: #666;
    --text-light: #aaa;
    --border: #e1e5e9;
    --border-light: #f0f0f0;
    --background-light: #f8f9fa;
    --background-card: #fafbfc;
    --shadow-light: 0 8px 25px rgba(0,0,0,0.08);
    --shadow-medium: 0 8px 25px rgba(0,0,0,0.1);
    --shadow-heavy: 0 15px 35px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
    --border-radius: 12px;
    --border-radius-small: 6px;
    --border-radius-large: 8px;
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--light);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 16px;
    border-radius: 0 !important;
}

/* Alle Container und Wrapper ohne border-radius */
.site,
#page,
.site-header,
#masthead,
header {
    border-radius: 0 !important;
}

/* ========================================
   LAYOUT & CONTAINER
======================================== */

/* Header ohne abgerundete Ecken */
header,
#masthead,
.site-header {
    border-radius: 0 !important;
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
    -webkit-border-radius: 0 !important;
    -moz-border-radius: 0 !important;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 20px;
    font-size: 36px;
    color: var(--dark);
    font-weight: 700;
    line-height: 1.2;
}

.section-title::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--secondary);
    margin: 24px auto 0;
    border-radius: 2px;
}

/* ========================================
   HEADER & NAVIGATION
======================================== */

header,
#masthead,
.site-header {
    background-color: var(--dark);
    color: white;
    padding: 18px 0;
    position: relative;
    box-shadow: var(--shadow-medium);
    border-radius: 0 !important;
    border-top-left-radius: 0 !important;
    border-top-right-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo */
.logo {
    font-size: 28px;
    font-weight: 700;
}

.logo a {
    color: white;
    text-decoration: none;
}

.logo span {
    color: var(--secondary);
}

/* Navigation */
.main-navigation {
    display: flex;
    align-items: center;
}

.nav-wrapper {
    display: flex;
    align-items: center;
}

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin-left: 32px;
}

nav ul li:first-child {
    margin-left: 0;
}

nav ul li a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    transition: var(--transition);
    padding: 8px 0;
}

nav ul li a:hover {
    color: var(--secondary);
}

/* ========================================
   SOCIAL ICONS IN HEADER
======================================== */

.social-icons {
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: var(--transition);
    text-decoration: none;
    color: white;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-icon:hover {
    background: var(--secondary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 77, 0, 0.3);
}

.social-icon svg {
    width: 20px;
    height: 20px;
    transition: var(--transition);
}

.instagram-icon:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .social-icons {
        margin-left: 10px;
    }
    
    .social-icon {
        width: 36px;
        height: 36px;
    }
    
    .social-icon svg {
        width: 18px;
        height: 18px;
    }
}

/* ========================================
   BUTTONS & INTERACTIVE ELEMENTS
======================================== */

.cta-button {
    display: inline-block;
    background-color: var(--secondary);
    color: white;
    padding: 14px 32px;
    border-radius: var(--border-radius-small);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 77, 0, 0.3);
}

.cta-button:hover {
    background-color: #e63e00;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 77, 0, 0.4);
    color: white;
    text-decoration: none;
}

.nav-wrapper .cta-button {
    margin-left: 32px;
    padding: 10px 24px;
    font-size: 14px;
}

.submit-button {
    background: linear-gradient(135deg, var(--primary) 0%, #0052a3 100%);
    color: white;
    border: none;
    padding: 16px 40px;
    font-size: 16px;
    border-radius: var(--border-radius-large);
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 100%;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 102, 204, 0.3);
}

/* ========================================
   HERO SECTION
======================================== */

.hero {
    background-color: #2c3e50;
    color: white;
    text-align: center;
    padding: 120px 0;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(24, 49, 83, 0.9), rgba(0, 102, 204, 0.8));
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 24px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 1px;
    line-height: 1.2;
}

.hero p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.6;
    opacity: 0.95;
}

/* ========================================
   PRODUCTS SECTION
======================================== */

.products {
    background-color: white;
    padding: 80px 0;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

/* ========================================
   PRODUCT CARD LINK WRAPPER
======================================== */

.product-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

.product-card-link:hover {
    text-decoration: none;
    color: inherit;
}

.product-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    transition: var(--transition);
    border: 1px solid var(--border-light);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card-link:hover .product-card {
    transform: translateY(-8px);
    box-shadow: var(--shadow-heavy);
}

.product-image {
    height: 240px;
    background-color: var(--background-light);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.product-card-link:hover .product-image img {
    transform: scale(1.05);
}

.product-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}

.product-title {
    font-size: 22px;
    margin-bottom: 8px;
    color: var(--dark);
    font-weight: 600;
    line-height: 1.3;
}

.product-description {
    color: var(--text-secondary);
    line-height: 1.5;
    font-size: 14px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 20px;
    min-height: 84px;
}

.product-description p {
    margin: 0;
    color: inherit;
    line-height: inherit;
    font-size: inherit;
}

.product-content .cta-button {
    margin-top: auto;
    align-self: flex-start;
    width: 100%;
    text-align: center;
    justify-content: center;
}

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

.why-us {
    background-color: var(--dark);
    color: white;
}

.benefits {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.benefit-card {
    text-align: center;
    padding: 40px 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.benefit-icon {
    font-size: 48px;
    color: var(--secondary);
    margin-bottom: 24px;
    line-height: 1;
}

.benefit-title {
    font-size: 22px;
    margin-bottom: 16px;
    font-weight: 600;
    color: white;
}

.benefit-card p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    font-size: 15px;
}

/* ========================================
   STATS SECTION
======================================== */

.stats {
    background: linear-gradient(135deg, var(--primary) 0%, #0052a3 100%);
    color: white;
    text-align: center;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.stat-card {
    padding: 30px 20px;
}

.stat-number {
    font-size: 52px;
    font-weight: 700;
    margin-bottom: 12px;
    color: white;
    line-height: 1;
}

.stat-description {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
}

/* ========================================
   TESTIMONIALS SECTION
======================================== */

.testimonials {
    background-color: var(--background-light);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.testimonial-card {
    background-color: white;
    padding: 40px 35px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    transition: var(--transition);
    border-left: 4px solid var(--secondary);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 24px;
    font-size: 16px;
    line-height: 1.7;
    color: #444;
    position: relative;
}

.testimonial-text::before {
    content: '"';
    font-size: 48px;
    color: var(--secondary);
    position: absolute;
    top: -10px;
    left: -15px;
    font-family: serif;
    line-height: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 16px;
    background: linear-gradient(135deg, #e3e3e3, #c0c0c0);
    flex-shrink: 0;
    overflow: hidden;
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    margin-bottom: 4px;
    font-weight: 600;
    color: var(--dark);
    font-size: 16px;
}

.author-info p {
    color: var(--text-secondary);
    font-size: 14px;
    margin: 0;
}

/* ========================================
   COUNTDOWN SECTION
======================================== */

.countdown {
    background: linear-gradient(135deg, var(--secondary) 0%, #e63e00 100%);
    color: white;
    text-align: center;
    padding: 60px 0;
}

.countdown h2 {
    font-size: 32px;
    margin-bottom: 40px;
    font-weight: 600;
    line-height: 1.3;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.countdown-item {
    background-color: rgba(255, 255, 255, 0.15);
    padding: 24px 20px;
    border-radius: var(--border-radius);
    min-width: 120px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition);
}

.countdown-item:hover {
    transform: translateY(-3px);
}

.countdown-number {
    font-size: 42px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 8px;
    color: white;
}

.countdown-label {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

/* ========================================
   CONTACT FORM
======================================== */

.contact-form {
    background-color: white;
    padding: 50px 40px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    max-width: 700px;
    margin: 0 auto;
    border: 1px solid var(--border-light);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
    font-size: 15px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border);
    border-radius: var(--border-radius-large);
    font-size: 15px;
    transition: var(--transition);
    background-color: var(--background-card);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
    background-color: white;
}

.form-group textarea {
    min-height: 140px;
    resize: vertical;
}

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

footer {
    background-color: var(--dark);
    color: white;
    padding: 60px 0 30px;
}

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

.footer-title {
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
}

.footer-title::after {
    content: "";
    display: block;
    width: 50px;
    height: 3px;
    background-color: var(--secondary);
    margin-top: 10px;
}

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

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

.footer-contact p {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.copyright {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
    color: var(--text-light);
}

/* ========================================
   WORDPRESS SPECIFIC STYLES
======================================== */

.wp-caption {
    max-width: 100%;
}

.wp-caption img {
    width: 100%;
    height: auto;
}

.wp-caption-text {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 5px;
}

.alignleft {
    float: left;
    margin: 0 20px 20px 0;
}

.alignright {
    float: right;
    margin: 0 0 20px 20px;
}

.aligncenter {
    display: block;
    margin: 0 auto;
}

.screen-reader-text {
    position: absolute;
    left: -9999px;
}

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

/* Tablet Landscape */
@media (max-width: 1024px) and (min-width: 769px) {
    .benefits {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .benefit-card {
        padding: 35px 25px;
    }
}

/* Tablet Portrait */
@media (max-width: 768px) {
    .header-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .nav-wrapper {
        gap: 15px;
    }
    
    nav ul {
        margin-top: 0;
        gap: 15px;
    }
    
    nav ul li {
        margin: 0;
    }
    
    .nav-wrapper .cta-button {
        margin-left: 15px;
        padding: 8px 16px;
        font-size: 12px;
    }
    
    .hero {
        padding: 80px 0;
    }
    
    .hero h1 {
        font-size: 32px;
        line-height: 1.2;
    }
    
    .hero p {
        font-size: 16px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .benefits {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .stat-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .testimonial-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .countdown-timer {
        gap: 15px;
    }
    
    .countdown-item {
        min-width: 90px;
        padding: 20px 15px;
    }
    
    .countdown-number {
        font-size: 32px;
    }
    
    .countdown h2 {
        font-size: 24px;
    }
    
    .contact-form {
        padding: 30px 25px;
        margin: 0 15px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .header-content {
        flex-wrap: wrap;
    }
    
    .nav-wrapper {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    nav ul {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    nav ul li {
        margin-left: 0;
    }
    
    .nav-wrapper .cta-button {
        margin-left: 10px;
        padding: 8px 16px;
        font-size: 12px;
    }
    
    .hero h1 {
        font-size: 26px;
    }
    
    .hero p {
        font-size: 15px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .stat-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .countdown-timer {
        gap: 10px;
    }
    
    .countdown-item {
        min-width: 80px;
        padding: 15px 10px;
    }
    
    .countdown-number {
        font-size: 28px;
    }
    
    .cta-button {
        padding: 12px 24px;
        font-size: 14px;
    }
}

/* ========================================
   BLOG POST META STYLES
======================================== */

.post-meta {
    margin: 10px 0;
    font-size: 14px;
    color: var(--text-secondary);
    border-top: 1px solid var(--border-light);
    padding-top: 10px;
}

.post-meta span {
    margin-right: 15px;
}

.post-date {
    color: var(--primary);
    font-weight: 500;
}

.post-author {
    color: var(--text-secondary);
}

/* ========================================
   LOAD MORE FUNCTIONALITY
======================================== */

.load-more-container {
    margin-top: 40px;
    text-align: center;
}

#load-more-posts {
    position: relative;
    min-width: 200px;
}

#loading {
    color: var(--text-secondary);
    font-size: 14px;
    font-style: italic;
}

#loading span {
    display: inline-block;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* ========================================
   SINGLE POST PAGE STYLES
======================================== */

.single-post-wrapper {
    background-color: var(--light);
    padding: 60px 0 40px;
    min-height: auto;
    height: auto;
    overflow: visible;
    position: relative;
}

/* Site Main Layout */
.site-main {
    overflow: visible;
    min-height: auto;
    height: auto;
    position: relative;
}

/* Related Posts Section */
main .related-posts {
    clear: both;
    width: 100%;
    position: relative;
    z-index: 1;
    overflow: visible;
}

/* Body und HTML für normales Scrollen mit Standard-Scrollbar */
html, body {
    overflow-x: auto;
    overflow-y: auto;
    height: auto;
    min-height: 100%;
}

/* Standard-Scrollbar für alle Elemente sicherstellen */
* {
    scrollbar-width: auto;
    scrollbar-color: auto;
}

*::-webkit-scrollbar {
    width: auto;
}

*::-webkit-scrollbar-track {
    background: auto;
}

*::-webkit-scrollbar-thumb {
    background: auto;
}

.single-post {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    overflow: hidden;
    margin-bottom: 40px;
}

.post-header {
    padding: 40px 40px 30px;
    background: linear-gradient(135deg, var(--primary) 0%, #0052a3 100%);
    color: white;
    text-align: center;
}

.post-meta {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 20px;
    font-size: 15px;
    font-weight: 500;
    color: white;
    opacity: 1;
}

.post-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
    position: relative;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.meta-separator {
    color: rgba(255, 255, 255, 0.8);
    font-weight: bold;
    margin: 0 0.3rem;
}

/* Elegante CSS-Icons statt Emojis */
.post-date::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 24 24'%3E%3Cpath d='M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-1.99.9-1.99 2L3 19c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 16H5V8h14v11zM7 10h5v5H7z'/%3E%3C/svg%3E") no-repeat center;
    background-size: 16px 16px;
}

.post-author::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 24 24'%3E%3Cpath d='M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z'/%3E%3C/svg%3E") no-repeat center;
    background-size: 16px 16px;
}

.post-categories::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ffffff' viewBox='0 0 24 24'%3E%3Cpath d='M17.63 5.84C17.27 5.33 16.67 5 16 5L5 5.01C3.9 5.01 3 5.9 3 7v10c0 1.1.9 1.99 2 1.99L16 19c.67 0 1.27-.33 1.63-.84L22 12l-4.37-6.16z'/%3E%3C/svg%3E") no-repeat center;
    background-size: 16px 16px;
}

/* Kategorie-Links im Header weiß gestalten */
.post-header .post-categories a {
    color: white !important;
    text-decoration: none;
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.post-header .post-categories a:hover {
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: underline;
}

.post-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 30px;
    color: white;
}

.post-featured-image {
    margin: 30px -40px -30px;
    overflow: hidden;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
}

.post-featured-image img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    display: block;
    /*object-position: 0% 25%;*/
}

.post-content {
    padding: 40px;
    line-height: 1.8;
    font-size: 16px;
    color: var(--text-primary);
}

.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4 {
    color: var(--dark);
    margin-top: 30px;
    margin-bottom: 15px;
    line-height: 1.3;
}

.post-content h2 {
    font-size: 28px;
    border-bottom: 3px solid var(--secondary);
    padding-bottom: 10px;
}

.post-content h3 {
    font-size: 24px;
    color: var(--primary);
}

.post-content p {
    margin-bottom: 20px;
}

.post-content ul,
.post-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.post-content li {
    margin-bottom: 10px;
}

.post-content blockquote {
    background: var(--light);
    border-left: 4px solid var(--secondary);
    padding: 20px 30px;
    margin: 30px 0;
    font-style: italic;
    font-size: 18px;
}

.post-tags {
    padding: 20px 40px;
    background: var(--background-light);
    border-top: 1px solid var(--border);
}

.post-tags h4 {
    margin-bottom: 10px;
    color: var(--dark);
    font-size: 16px;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag-list a {
    background: var(--primary);
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 12px;
    transition: var(--transition);
}

.tag-list a:hover {
    background: var(--secondary);
    transform: translateY(-1px);
}

.post-navigation {
    padding: 30px 40px;
    background: var(--background-light);
}

.nav-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.nav-link {
    display: block;
    padding: 20px;
    background: white;
    border-radius: var(--border-radius);
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid var(--border);
}

.nav-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.nav-direction {
    display: block;
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 5px;
    text-transform: uppercase;
    font-weight: 600;
}

.nav-title {
    display: block;
    color: var(--dark);
    font-weight: 600;
    line-height: 1.3;
}

.next-link {
    text-align: right;
}

.back-to-blog {
    text-align: center;
    padding: 30px 40px 40px;
}

.back-button {
    background: var(--dark);
    border-color: var(--dark);
}

.back-button:hover {
    background: var(--primary);
    transform: translateY(-2px);
}

.related-posts {
    background: var(--background-light);
    padding: 60px 0;
    margin-top: 40px;
    border-top: 1px solid #eee;
    display: block;
    visibility: visible;
    height: auto;
    overflow: visible;
    position: relative;
    clear: both;
}

.related-posts .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.related-posts .section-title {
    text-align: center;
    font-size: 2.2rem;
    color: var(--dark) !important;
    margin-bottom: 3rem;
    font-weight: 600;
}

.related-posts .product-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
    gap: 2rem !important;
    margin-top: 2rem;
    visibility: visible !important;
}

/* Related Posts Product Cards */
.related-posts .product-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
    visibility: visible;
}

.related-posts .product-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    visibility: visible;
    opacity: 1;
}

.related-posts .product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.related-posts .product-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    display: block;
    visibility: visible;
}

.related-posts .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
    visibility: visible;
}

.related-posts .product-card:hover .product-image img {
    transform: scale(1.05);
}

.related-posts .product-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    visibility: visible;
}

.related-posts .product-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 0.75rem;
    line-height: 1.3;
    display: block;
    visibility: visible;
}

.related-posts .product-description {
    color: #666;
    line-height: 1.5;
    margin-bottom: 1rem;
    flex: 1;
    display: block;
    visibility: visible;
    font-size: 0.95rem;
}

.related-posts .product-description p {
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-clamp: 3;
    overflow: hidden;
    visibility: visible;
}

.related-posts .cta-button {
    background: var(--primary);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 500;
    text-align: center;
    transition: background 0.3s ease;
    margin-top: auto;
    display: inline-block;
    visibility: visible;
}

.related-posts .product-card:hover .cta-button {
    background: var(--secondary);
}

.page-links {
    margin: 30px 0;
    text-align: center;
    padding: 20px;
    background: var(--background-light);
    border-radius: var(--border-radius);
}

.page-links a {
    display: inline-block;
    padding: 8px 15px;
    margin: 0 5px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: var(--border-radius-small);
    transition: var(--transition);
}

.page-links a:hover {
    background: var(--secondary);
}

/* ========================================
   RESPONSIVE ADJUSTMENTS FOR SINGLE POST
======================================== */

@media (max-width: 768px) {
    .single-post-wrapper {
        padding: 30px 0;
    }
    
    .post-header,
    .post-content,
    .post-navigation,
    .back-to-blog {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .post-title {
        font-size: 28px;
    }
    
    .post-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .nav-links {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .next-link {
        text-align: left;
    }
    
    .post-featured-image {
        margin-left: -20px;
        margin-right: -20px;
    }
    
    .post-featured-image img {
        /*height: 250px;*/
    }
}

/* ========================================
   PAGE TEMPLATE STYLES - WM 2026 DESIGN
======================================== */

/* Page Hero Section - Ähnlich der Startseite */
.page-hero {
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
    color: white;
    text-align: center;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.page-hero .hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(24, 49, 83, 0.9), rgba(0, 102, 204, 0.8));
    z-index: 1;
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.page-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-hero-title {
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.page-hero-subtitle {
    font-size: 18px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    margin: 0;
    max-width: 600px;
    margin: 0 auto;
}

/* Page Content Section */
.page-content-section {
    background-color: var(--light);
    padding: 80px 0;
}

.page-content-wrapper {
    background-color: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    overflow: hidden;
    margin-bottom: 40px;
}

.page-featured-image {
    width: 100%;
    overflow: hidden;
    margin-bottom: 0;
}

.page-featured-image .featured-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
}

.page-content {
    padding: 50px;
    line-height: 1.8;
    font-size: 16px;
    color: var(--text-primary);
}

.page-content h1,
.page-content h2,
.page-content h3,
.page-content h4,
.page-content h5,
.page-content h6 {
    color: var(--dark);
    margin-top: 30px;
    margin-bottom: 15px;
    line-height: 1.3;
    font-weight: 600;
}

.page-content h1 {
    font-size: 32px;
    border-bottom: 3px solid var(--secondary);
    padding-bottom: 10px;
}

.page-content h2 {
    font-size: 28px;
    color: var(--primary);
}

.page-content h3 {
    font-size: 24px;
}

.page-content h4 {
    font-size: 20px;
}

.page-content p {
    margin-bottom: 20px;
}

.page-content ul,
.page-content ol {
    margin: 20px 0;
    padding-left: 30px;
}

.page-content li {
    margin-bottom: 10px;
}

.page-content blockquote {
    background: var(--light);
    border-left: 4px solid var(--secondary);
    padding: 20px 30px;
    margin: 30px 0;
    font-style: italic;
    font-size: 18px;
    border-radius: var(--border-radius-small);
}

.page-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius-small);
    margin: 20px 0;
}

.page-content a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

.page-content a:hover {
    color: var(--secondary);
    text-decoration: underline;
}

/* Page Links (für mehrseitige Inhalte) */
.page-links {
    margin: 30px 0;
    text-align: center;
    padding: 20px;
    background: var(--background-light);
    border-radius: var(--border-radius);
}

.page-links a {
    display: inline-block;
    padding: 8px 15px;
    margin: 0 5px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: var(--border-radius-small);
    transition: var(--transition);
}

.page-links a:hover {
    background: var(--secondary);
    transform: translateY(-1px);
}

/* Edit Link für Admins */
.page-footer {
    padding: 20px 50px;
    background: var(--background-light);
    border-top: 1px solid var(--border);
    text-align: center;
}

.edit-link a {
    color: var(--text-secondary);
    font-size: 14px;
    text-decoration: none;
    transition: var(--transition);
}

.edit-link a:hover {
    color: var(--primary);
}

/* ========================================
   RESPONSIVE ADJUSTMENTS FOR PAGES
======================================== */

@media (max-width: 768px) {
    .page-hero {
        padding: 60px 0;
        min-height: 250px;
    }
    
    .page-hero-title {
        font-size: 28px;
    }
    
    .page-hero-subtitle {
        font-size: 16px;
    }
    
    .page-content-section {
        padding: 40px 0;
    }
    
    .page-content {
        padding: 30px 25px;
    }
    
    .page-footer {
        padding: 15px 25px;
    }
    
    .page-featured-image .featured-image {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .page-hero {
        padding: 40px 0;
    }
    
    .page-hero-title {
        font-size: 24px;
    }
    
    .page-content {
        padding: 20px;
    }
    
    .page-content h1 {
        font-size: 26px;
    }
    
    .page-content h2 {
        font-size: 22px;
    }
}

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

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