/*
Theme Name: Riesen Teddy Kaufen
Theme URI: https://www.riesen-teddy-kaufen.de/
Author: Riesen Teddy Team
Author URI: https://www.riesen-teddy-kaufen.de/
Description: Ein speziell entwickeltes WordPress-Theme für Riesen-Teddy-Kaufen.de - SEO-optimiert, kindgerecht und perfekt für Kuscheltier-Liebhaber
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: riesen-teddy
Tags: e-commerce, blog, seo, responsive, cute, children
*/

/* ===================================
   CSS Reset & Base Styles
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #FF9EC5;
    --secondary-color: #87CEEB;
    --accent-color: #FFD700;
    --text-color: #333333;
    --light-bg: #FFF5F8;
    --white: #FFFFFF;
    --teddy-brown: #D2691E;
    --soft-pink: #FFE4E1;
    --border-radius: 20px;
    --box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Comic Sans MS', 'Trebuchet MS', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
    overflow-x: hidden;
}

/* ===================================
   Typography
   =================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: bold;
    margin-bottom: 1rem;
    color: var(--teddy-brown);
}

h1 {
    font-size: 2.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
}

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

a:hover {
    color: var(--teddy-brown);
}

/* ===================================
   Header Styles - PREMIUM VERSION
   =================================== */
.site-header {
    background: var(--white);
    box-shadow: 0 2px 25px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

/* Header Top Bar */
.header-top-bar {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 0.6rem 0;
    font-size: 0.85rem;
}

.header-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.header-info-item {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

/* Header Main Section */
.header-main {
    padding: 1rem 0;
    position: relative;
}

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

/* Logo & Branding */
.site-branding {
    flex: 0 0 auto;
}

.site-logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: var(--transition);
}

.site-logo-link:hover {
    transform: translateY(-2px);
}

.logo-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.site-logo-img,
.custom-logo {
    max-height: 70px;
    width: auto;
    transition: var(--transition);
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
}

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

.site-title-wrapper {
    display: flex;
    flex-direction: column;
}

.site-title {
    font-size: 1.5rem;
    color: var(--teddy-brown);
    margin: 0;
    line-height: 1.2;
    font-weight: 800;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.05);
}

.site-tagline {
    font-size: 0.85rem;
    color: var(--primary-color);
    margin: 0.25rem 0 0 0;
    font-weight: 600;
}

/* ===================================
   Navigation Menu - PREMIUM VERSION
   =================================== */
.main-navigation {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 0.5rem;
    margin: 0;
    padding: 0;
    align-items: center;
}

.main-navigation li {
    position: relative;
}

.main-navigation a {
    color: var(--text-color);
    font-weight: 600;
    padding: 0.75rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 50px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.main-navigation a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
    border-radius: 50px;
    z-index: -1;
}

.main-navigation a:hover::before,
.main-navigation .current-menu-item a::before {
    width: 100%;
}

.main-navigation a:hover,
.main-navigation .current-menu-item a {
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 158, 197, 0.4);
}

/* Header Actions */
.header-actions {
    flex: 0 0 auto;
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn-header {
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 158, 197, 0.4);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: var(--white);
    border: 2px solid var(--primary-color);
    padding: 0.75rem 1rem;
    border-radius: 50px;
    cursor: pointer;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.menu-toggle:hover {
    background: var(--primary-color);
    color: var(--white);
}

.menu-toggle.active {
    background: var(--primary-color);
    color: var(--white);
}

.menu-icon {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 24px;
}

.menu-icon span {
    display: block;
    height: 3px;
    background: currentColor;
    border-radius: 2px;
    transition: var(--transition);
}

.menu-toggle.active .menu-icon span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active .menu-icon span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .menu-icon span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.menu-text {
    font-weight: 600;
}

/* Header Decoration */
.header-decoration {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.teddy-float {
    position: absolute;
    font-size: 2rem;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.teddy-float-1 {
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.teddy-float-2 {
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.teddy-float-3 {
    top: 30%;
    right: 20%;
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

/* ===================================
   Hero Section - KOMPAKT VERSION
   =================================== */
.hero-section-compact {
    background: linear-gradient(135deg, var(--light-bg) 0%, var(--soft-pink) 50%, var(--white) 100%);
    padding: 3rem 2rem;
    position: relative;
    overflow: hidden;
}

.hero-content-compact {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-text {
    text-align: left;
}

.hero-image {
    text-align: center;
}

.hero-img {
    max-width: 100%;
    height: auto;
    max-height: 350px;
    object-fit: contain;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: var(--transition);
}

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

.hero-title {
    font-size: 2.5rem;
    color: var(--teddy-brown);
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.05);
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-color);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 1rem 2rem;
    color: var(--white);
    border-radius: 50px;
    font-weight: 700;
    transition: var(--transition);
    box-shadow: var(--box-shadow);
    border: none;
    cursor: pointer;
    text-decoration: none;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.btn-secondary {
    background: var(--teddy-brown);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
}

.btn-secondary:hover {
    background: var(--text-color);
}

/* ===================================
   Content Section
   =================================== */
.site-content {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
}

.content-area {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 2rem;
}

/* ===================================
   Blog/Post Styles
   =================================== */
.blog-posts {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

article.post {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

article.post:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.post-thumbnail img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.post-content {
    padding: 1.5rem;
}

.post-title {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.post-meta {
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.post-excerpt {
    line-height: 1.6;
    margin-bottom: 1rem;
}

.read-more {
    color: var(--primary-color);
    font-weight: bold;
}

/* ===================================
   Section Headers
   =================================== */
.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--teddy-brown);
    margin-bottom: 0.5rem;
}

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

/* Blog Page Header */
.blog-page-header {
    text-align: center;
    padding: 2rem;
    background: var(--light-bg);
    border-radius: var(--border-radius);
    margin-bottom: 3rem;
}

.blog-page-header .page-title {
    font-size: 2.5rem;
    color: var(--teddy-brown);
    margin-bottom: 1rem;
}

.blog-page-header .page-description {
    font-size: 1.1rem;
    color: var(--text-color);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
}

.blog-header {
    text-align: center;
    margin-bottom: 3rem;
}

.blog-header h2 {
    font-size: 2rem;
    color: var(--teddy-brown);
    margin-bottom: 0.5rem;
}

.blog-header p {
    font-size: 1rem;
    color: var(--text-color);
    opacity: 0.8;
}

/* ===================================
   Features Section
   =================================== */
.features-section {
    background: var(--white);
    padding: 4rem 2rem;
    margin-top: 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-box {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.feature-box:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* ===================================
   Footer Styles
   =================================== */
.site-footer {
    background: linear-gradient(135deg, var(--teddy-brown) 0%, #8B4513 100%);
    color: var(--white);
    padding: 3rem 2rem 1rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--white);
    margin-bottom: 1rem;
}

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

.footer-section a {
    color: var(--white);
    opacity: 0.8;
    transition: var(--transition);
}

.footer-section a:hover {
    opacity: 1;
    color: var(--accent-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* ===================================
   SEO Optimized Elements
   =================================== */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Schema.org Markup Styling */
.schema-breadcrumbs {
    padding: 1rem 2rem;
    background: var(--light-bg);
}

.breadcrumbs {
    max-width: 1200px;
    margin: 0 auto;
    font-size: 0.9rem;
}

.breadcrumbs a {
    color: var(--teddy-brown);
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 968px) {
    .header-info {
        font-size: 0.75rem;
        gap: 1rem;
    }
    
    .header-info-item {
        font-size: 0.75rem;
    }
    
    .header-container {
        flex-wrap: wrap;
    }
    
    .menu-toggle {
        display: flex;
        order: 3;
    }
    
    .header-actions {
        order: 2;
    }
    
    .main-navigation {
        display: none;
        width: 100%;
        order: 4;
        margin-top: 1rem;
        background: var(--white);
        border-radius: var(--border-radius);
        box-shadow: var(--box-shadow);
        padding: 1rem;
    }
    
    .main-navigation.active {
        display: block;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .main-navigation a {
        width: 100%;
        padding: 1rem 1.25rem;
        justify-content: flex-start;
    }
    
    .site-title {
        font-size: 1.2rem;
    }
    
    .site-tagline {
        font-size: 0.75rem;
    }
    
    .site-logo-img,
    .custom-logo {
        max-height: 50px;
    }
    
    .logo-wrapper {
        gap: 0.75rem;
    }

@media (max-width: 768px) {
    .header-info {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .header-top-bar {
        padding: 0.8rem 0;
    }
    
    .site-title-wrapper {
        display: none;
    }
    
    .header-actions .btn-header {
        padding: 0.6rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .teddy-float {
        display: none;
    }
    
    .hero-content-compact {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-img {
        max-height: 250px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    .blog-posts {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .header-container {
        padding: 0 1rem;
    }
    
    .site-content {
        padding: 0 1rem;
    }
    
    .hero-section {
        padding: 2rem 1rem;
    }
}

/* ===================================
   Accessibility
   =================================== */
:focus {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: var(--white);
    padding: 8px;
    text-decoration: none;
    z-index: 100;
}

.skip-link:focus {
    top: 0;
}
