/*
Theme Name: OEBK Theme
Theme URI:
Author: Österreichischer Boxerklub LG Tirol
Author URI:
Description: Custom WordPress theme for Österreichischer Boxerklub LG Tirol
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: oebk-theme
*/

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: rgb(35, 31, 32);
    background: #ffffff;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Hero */
.hero {
    text-align: center;
    padding: 80px 24px 48px;
    animation: fadeInUp 0.8s ease-out;
}

.logo {
    width: 180px;
    height: 180px;
    margin: 0 auto 0;
}

.logo-banner {
    display: block;
    height: 35px;
    width: auto;
    margin: 25px auto 40px;
}

.hero h1 {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
    color: rgb(35, 31, 32);
}

.hero p {
    font-size: 1.1rem;
    color: #6b7280;
    max-width: 400px;
    margin: 0 auto;
}

/* Divider */
.divider {
    width: 48px;
    height: 3px;
    background: rgb(96, 187, 70);
    margin: 48px auto;
    border-radius: 2px;
}

/* Contact */
.contact {
    padding: 0 24px 48px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.contact-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 720px;
    margin: 0 auto;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.contact-item svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    stroke: rgb(96, 187, 70);
    margin-top: 2px;
}

.contact-item a {
    color: rgb(35, 31, 32);
    text-decoration: none;
    transition: color 0.2s;
}

.contact-item a:hover {
    color: rgb(96, 187, 70);
}

.contact-label {
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgb(62, 140, 43);
    margin-bottom: 2px;
}

/* Map */
.map-section {
    padding: 0 24px 48px;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.map-container {
    max-width: 720px;
    margin: 0 auto;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    background: #f9fafb;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-container iframe {
    width: 100%;
    height: 350px;
    border: 0;
}

.map-placeholder {
    text-align: center;
    padding: 48px 24px;
    color: #9ca3af;
}

.map-placeholder svg {
    width: 40px;
    height: 40px;
    stroke: #d1d5db;
    margin-bottom: 12px;
}

.map-placeholder p {
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.map-placeholder button {
    background: rgb(96, 187, 70);
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.map-placeholder button:hover {
    background: rgb(76, 167, 50);
}

/* Facebook */
.social {
    text-align: center;
    padding: 0 24px 48px;
    margin-top: 0;
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

.social a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: rgb(35, 31, 32);
    text-decoration: none;
    font-weight: 500;
    padding: 12px 28px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    transition: all 0.2s;
}

.social a:hover {
    border-color: rgb(96, 187, 70);
    color: rgb(96, 187, 70);
}

.social a svg {
    width: 20px;
    height: 20px;
}

/* Footer */
footer {
    border-top: 1px solid #e5e7eb;
    padding: 32px 24px;
    text-align: center;
    color: #9ca3af;
    font-size: 0.85rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: rgb(96, 187, 70);
}

/* Legal sections (Impressum / Datenschutz) */
.legal-section {
    display: none;
    padding: 48px 24px;
    border-top: 1px solid #e5e7eb;
    animation: fadeIn 0.3s ease-out;
}

.legal-section.active {
    display: block;
}

.legal-section .container {
    max-width: 720px;
}

.legal-section h2 {
    color: rgb(62, 140, 43);
    font-size: 1.5rem;
    margin-bottom: 24px;
    font-weight: 700;
}

.legal-section h3 {
    color: rgb(62, 140, 43);
    font-size: 1.1rem;
    margin-top: 28px;
    margin-bottom: 8px;
    font-weight: 600;
}

.legal-section p {
    margin-bottom: 8px;
    color: #4b5563;
}

.legal-close {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 32px;
    color: #6b7280;
    text-decoration: none;
    font-size: 0.9rem;
    cursor: pointer;
    background: none;
    border: none;
    font-family: inherit;
    transition: color 0.2s;
}

.legal-close:hover {
    color: rgb(96, 187, 70);
}

.legal-close svg {
    width: 16px;
    height: 16px;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid #e5e7eb;
    padding: 20px 24px;
    z-index: 100;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
    animation: slideUp 0.4s ease-out;
}

.cookie-banner.hidden {
    display: none;
}

.cookie-inner {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
    font-size: 0.9rem;
    color: #4b5563;
    min-width: 200px;
}

.cookie-text a {
    color: rgb(96, 187, 70);
    text-decoration: none;
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.cookie-btn-accept {
    background: rgb(96, 187, 70);
    color: white;
    border: none;
}

.cookie-btn-accept:hover {
    background: rgb(76, 167, 50);
}

.cookie-btn-decline {
    background: transparent;
    color: #6b7280;
    border: 1px solid #e5e7eb;
}

.cookie-btn-decline:hover {
    border-color: #9ca3af;
    color: #4b5563;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* Aktuelles Button (Landing Page) */
.aktuelles-section {
    text-align: center;
    padding: 48px 24px 16px;
    animation: fadeInUp 0.8s ease-out 0.15s both;
}

.aktuelles-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    background: rgb(96, 187, 70);
    text-decoration: none;
    font-weight: 500;
    padding: 12px 28px;
    border: none;
    border-radius: 10px;
    transition: all 0.2s;
}

.aktuelles-btn:hover {
    background: rgb(76, 167, 50);
    color: #ffffff;
}

.aktuelles-btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    stroke: currentColor;
}

/* Blog Header */
.blog-header {
    padding: 48px 24px 32px;
    animation: fadeInUp 0.8s ease-out;
}

.blog-header h1 {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: rgb(35, 31, 32);
    margin-top: 8px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #6b7280;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.back-link:hover {
    color: rgb(96, 187, 70);
}

.back-link svg {
    width: 16px;
    height: 16px;
}

/* Post Grid */
.post-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    padding-bottom: 48px;
}

.post-card {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
    animation: fadeInUp 0.6s ease-out both;
}

.post-card:hover {
    border-color: rgb(96, 187, 70);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.post-card__link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.post-card__image {
    aspect-ratio: 3 / 2;
    overflow: hidden;
    background: #f9fafb;
}

.post-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.post-card:hover .post-card__image img {
    transform: scale(1.03);
}

.post-card__content {
    padding: 16px;
}

.post-card__date {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgb(62, 140, 43);
    margin-bottom: 6px;
}

.post-card__title {
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.4;
    color: rgb(35, 31, 32);
    margin-bottom: 8px;
}

.post-card__excerpt {
    font-size: 0.9rem;
    color: #6b7280;
    line-height: 1.5;
}

/* Load More */
.load-more-wrap {
    text-align: center;
    padding-bottom: 48px;
}

.load-more-btn {
    background: transparent;
    color: rgb(35, 31, 32);
    font-weight: 500;
    padding: 12px 32px;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.load-more-btn:hover {
    border-color: rgb(96, 187, 70);
    color: rgb(96, 187, 70);
}

.load-more-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* No Posts */
.no-posts {
    text-align: center;
    padding: 80px 24px;
    color: #9ca3af;
    font-size: 1.1rem;
}

/* Single Post */
.single-post {
    padding-bottom: 48px;
    animation: fadeInUp 0.8s ease-out;
}

.single-post__image {
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 32px;
}

.single-post__image img {
    width: 100%;
    height: auto;
    display: block;
}

.single-post__date {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgb(62, 140, 43);
    margin-bottom: 8px;
}

.single-post__title {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: rgb(35, 31, 32);
    margin-bottom: 24px;
    line-height: 1.3;
}

.single-post__content {
    font-size: 1rem;
    line-height: 1.7;
    color: #4b5563;
}

.single-post__content p {
    margin-bottom: 16px;
}

.single-post__content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 24px 0;
}

.single-post__content h2,
.single-post__content h3 {
    color: rgb(35, 31, 32);
    margin-top: 32px;
    margin-bottom: 12px;
}

.single-post__content a {
    color: rgb(96, 187, 70);
    text-decoration: none;
}

.single-post__content a:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 600px) {
    .hero {
        padding: 56px 24px 40px;
    }

    .hero h1 {
        font-size: 1.6rem;
    }

    .logo {
        width: 140px;
        height: 140px;
    }

    .cookie-inner {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-buttons {
        justify-content: stretch;
    }

    .cookie-btn {
        flex: 1;
        text-align: center;
    }

    .post-grid {
        grid-template-columns: 1fr;
    }

    .blog-header h1 {
        font-size: 1.6rem;
    }

    .single-post__title {
        font-size: 1.4rem;
    }
}
