/* ========================================
   WASCHMASCHINENREPARATUR WIEN - ARTICLE STYLES
   Fresh Orange & Dark Gray Professional Design
   ======================================== */

/* CSS Variables - Same as main site */
:root {
    --primary-color: #FF6B35;
    --primary-dark: #E55A2B;
    --primary-light: #FF8B5C;
    --secondary-color: #2C3E50;
    --secondary-dark: #1A252F;
    --secondary-light: #34495E;
    --accent-color: #FFA500;
    --success-color: #27AE60;
    --text-dark: #2C3E50;
    --text-gray: #5A6C7D;
    --text-light: #95A5A6;
    --bg-white: #ffffff;
    --bg-light: #F8F9FA;
    --bg-gray: #ECF0F1;
    --bg-dark: #34495E;
    --border-color: #BDC3C7;
    --shadow-sm: 0 2px 8px rgba(44, 62, 80, 0.08);
    --shadow-md: 0 4px 20px rgba(44, 62, 80, 0.12);
    --shadow-lg: 0 8px 40px rgba(44, 62, 80, 0.18);
    --shadow-xl: 0 12px 50px rgba(44, 62, 80, 0.25);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    background: var(--bg-light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

/* ========================================
   HEADER
   ======================================== */

header {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-color);
    padding: 20px 0;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

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

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

.logo a {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

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

nav ul {
    display: flex;
    list-style: none;
    gap: 24px;
}

nav a {
    font-weight: 600;
    color: var(--text-dark);
    transition: var(--transition);
    padding: 8px 16px;
    border-radius: var(--radius-md);
}

.atricleBlog {
    background: var(--primary-color);
    color: var(--bg-white) !important;
    font-weight: 700;
}

.atricleBlog:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ========================================
   ARTICLE CONTAINER
   ======================================== */

main {
    padding: 60px 0;
}

.article-container {
    max-width: 850px;
    margin: 0 auto;
}

/* ========================================
   ARTICLE
   ======================================== */

.article {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 60px;
    box-shadow: var(--shadow-md);
    margin-bottom: 50px;
}

.article h1 {
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -0.5px;
}

.meta {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-bottom: 24px;
    margin-bottom: 32px;
    border-bottom: 2px solid var(--bg-gray);
}

.author {
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.author::before {
    content: '✍️';
    font-size: 1.125rem;
}

.date {
    color: var(--text-gray);
    font-size: 0.9375rem;
    font-weight: 500;
}

.date::before {
    content: '📅';
    margin-right: 4px;
}

/* ========================================
   FEATURED IMAGE
   ======================================== */

.featured-image {
    margin-bottom: 40px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.featured-image figcaption {
    background: var(--bg-light);
    padding: 16px 20px;
    font-size: 0.9375rem;
    color: var(--text-gray);
    font-style: italic;
    text-align: center;
}

/* ========================================
   ARTICLE CONTENT
   ======================================== */

.article-intro {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 40px;
    padding: 24px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.08) 0%, rgba(255, 107, 53, 0.03) 100%);
    border-left: 4px solid var(--primary-color);
    border-radius: var(--radius-md);
    font-weight: 500;
}

.article-content {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text-dark);
    margin-bottom: 40px;
}

.article-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-top: 48px;
    margin-bottom: 20px;
    line-height: 1.3;
}

.article-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-top: 36px;
    margin-bottom: 16px;
    line-height: 1.4;
}

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

.article-content ul,
.article-content ol {
    margin-bottom: 24px;
    padding-left: 28px;
}

.article-content li {
    margin-bottom: 12px;
    line-height: 1.8;
}

.article-content ul li {
    list-style: none;
    position: relative;
    padding-left: 8px;
}

.article-content ul li::before {
    content: '▸';
    position: absolute;
    left: -20px;
    color: var(--primary-color);
    font-weight: 700;
}

.article-content ol li {
    list-style: decimal;
}

.article-content strong {
    font-weight: 700;
    color: var(--text-dark);
}

.article-content em {
    font-style: italic;
    color: var(--text-gray);
}

.article-content a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: underline;
}

.article-content a:hover {
    color: var(--primary-dark);
}

.article-content blockquote {
    margin: 32px 0;
    padding: 24px 28px;
    background: var(--bg-light);
    border-left: 4px solid var(--primary-color);
    border-radius: var(--radius-md);
    font-style: italic;
    color: var(--text-gray);
}

.article-content code {
    background: var(--bg-light);
    padding: 3px 8px;
    border-radius: var(--radius-sm);
    font-family: 'Courier New', monospace;
    font-size: 0.9375rem;
    color: var(--primary-dark);
}

.article-content pre {
    background: var(--bg-dark);
    color: var(--bg-white);
    padding: 24px;
    border-radius: var(--radius-md);
    overflow-x: auto;
    margin-bottom: 24px;
}

.article-content pre code {
    background: transparent;
    color: var(--bg-white);
    padding: 0;
}

/* ========================================
   ARTICLE CONCLUSION
   ======================================== */

.article-conclusion {
    margin-top: 48px;
    padding: 32px;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%);
    border-radius: var(--radius-lg);
    border: 2px solid var(--border-color);
}

.article-conclusion h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.article-conclusion p {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.article-conclusion a {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: underline;
}

.article-conclusion a:hover {
    color: var(--primary-dark);
}

/* ========================================
   RELATED POSTS
   ======================================== */

.related-posts {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 48px;
    box-shadow: var(--shadow-md);
}

.related-posts h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 32px;
    text-align: center;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.related-post {
    background: var(--bg-light);
    border-radius: var(--radius-md);
    padding: 24px;
    border: 2px solid transparent;
    transition: var(--transition);
}

.related-post:hover {
    border-color: var(--primary-color);
    background: var(--bg-white);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.related-post-link {
    display: block;
}

.related-post h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.4;
    transition: var(--transition);
}

.related-post:hover h3 {
    color: var(--primary-color);
}

/* ========================================
   FIXED CALL BUTTON
   ======================================== */

.fixed-call-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 65px;
    height: 65px;
    background: var(--primary-color);
    color: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 25px rgba(255, 107, 53, 0.4);
    z-index: 9999;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

.fixed-call-button:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
    box-shadow: 0 8px 35px rgba(255, 107, 53, 0.6);
}

.fixed-call-button img {
    width: 28px;
    height: 28px;
    filter: brightness(0) invert(1);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 5px 25px rgba(255, 107, 53, 0.4);
    }
    50% {
        box-shadow: 0 5px 35px rgba(255, 107, 53, 0.7);
    }
}

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

@media (max-width: 768px) {
    main {
        padding: 40px 0;
    }

    .article {
        padding: 40px 28px;
    }

    .article h1 {
        font-size: 2rem;
    }

    .meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .article-intro {
        font-size: 1.0625rem;
        padding: 20px;
    }

    .article-content {
        font-size: 1rem;
    }

    .article-content h2 {
        font-size: 1.625rem;
        margin-top: 36px;
    }

    .article-content h3 {
        font-size: 1.25rem;
        margin-top: 28px;
    }

    .related-posts {
        padding: 36px 24px;
    }

    .related-posts h2 {
        font-size: 1.625rem;
    }

    .related-posts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    nav ul {
        gap: 16px;
    }

    nav a {
        padding: 6px 12px;
        font-size: 0.9375rem;
    }

    .fixed-call-button {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }

    .fixed-call-button img {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 480px) {
    .article {
        padding: 32px 20px;
        border-radius: var(--radius-md);
    }

    .article h1 {
        font-size: 1.625rem;
    }

    .article-intro {
        font-size: 1rem;
        padding: 16px;
    }

    .article-content {
        font-size: 0.9375rem;
    }

    .article-content h2 {
        font-size: 1.375rem;
    }

    .article-content h3 {
        font-size: 1.125rem;
    }

    .article-conclusion {
        padding: 24px 20px;
    }

    .article-conclusion h2 {
        font-size: 1.5rem;
    }

    .related-posts {
        padding: 28px 16px;
    }

    .related-posts h2 {
        font-size: 1.375rem;
    }

    .related-post {
        padding: 20px;
    }

    nav ul {
        gap: 12px;
    }

    .fixed-call-button {
        bottom: 16px;
        right: 16px;
        width: 50px;
        height: 50px;
    }

    .fixed-call-button img {
        width: 22px;
        height: 22px;
    }
}

@media (max-width: 375px) {
    .container {
        padding: 0 16px;
    }

    .article {
        padding: 24px 16px;
    }

    .article h1 {
        font-size: 1.375rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .article-intro {
        font-size: 0.9375rem;
        padding: 14px;
    }

    .article-content {
        font-size: 0.875rem;
    }

    .article-conclusion {
        padding: 20px 16px;
    }

    .related-posts {
        padding: 24px 12px;
    }

    .related-post {
        padding: 16px;
    }
}
