:root {
    --black: #0a0a0a;
    --red: #ef4444;
    --light: #f5f5f5;
    --grey: #888888;
    --white: #ffffff;
    --font-head: 'Playfair Display', serif;
    --font-body: 'Source Sans Pro', sans-serif;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--white);
    color: var(--black);
    line-height: 1.7;
    font-size: 1.125rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--red);
}

h1, h2, h3, h4 {
    font-family: var(--font-head);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.section-padding {
    padding: 4rem 0;
}

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

/* HEADER */
.magazine-header {
    border-bottom: 1px solid #e5e5e5;
    padding: 1.5rem 0;
    background: var(--white);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.masthead {
    font-family: var(--font-head);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    text-transform: uppercase;
}

.nav-magazine a {
    margin-left: 2rem;
    font-size: 0.95rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* HERO */
.featured-hero {
    padding-bottom: 3rem;
}

.hero-img {
    width: 100%;
    height: 60vh;
    object-fit: cover;
    display: block;
    margin-bottom: 2rem;
}

.featured-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.featured-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.featured-content .lead {
    font-size: 1.25rem;
    color: #444;
    margin-bottom: 1.5rem;
}

.byline {
    font-size: 0.9rem;
    color: var(--grey);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* MASONRY */
.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--red);
    margin: 0.5rem auto 0;
}

.masonry-container {
    column-count: 3;
    column-gap: 2rem;
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: 2rem;
    background: var(--white);
    border-bottom: 1px solid #eee;
    padding-bottom: 1rem;
}

.masonry-img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 1rem;
}

.tall .masonry-img { min-height: 300px; object-fit: cover; }
.medium .masonry-img { min-height: 200px; object-fit: cover; }

.article-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.article-content p {
    font-size: 1rem;
    color: #555;
}

/* KI TRADING TWO COL */
.two-col-text {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

/* QUOTE */
.pullquote-section {
    padding: 4rem 0;
    text-align: center;
    background: var(--black);
    color: var(--white);
}

blockquote {
    font-family: var(--font-head);
    font-size: 2rem;
    font-style: italic;
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.4;
}

/* PORTFOLIO GRID */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.portfolio-card {
    background: var(--white);
    border: 1px solid #eee;
}

.card-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.card-body {
    padding: 1.5rem;
}

/* NEWSLETTER */
.newsletter-magazine {
    background: var(--light);
    padding: 4rem 0;
    text-align: center;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.newsletter-form {
    max-width: 500px;
    margin: 2rem auto 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.newsletter-form input[type="email"] {
    padding: 1rem;
    border: 1px solid #ccc;
    font-family: var(--font-body);
}

.newsletter-form button {
    padding: 1rem;
    background: var(--black);
    color: var(--white);
    border: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    font-weight: 600;
}

.newsletter-form button:hover {
    background: var(--red);
}

.form-check-newsletter {
    text-align: left;
    font-size: 0.85rem;
}

/* CONTACT */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

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

.contact-form input, 
.contact-form textarea {
    padding: 1rem;
    border: 1px solid #ccc;
    font-family: var(--font-body);
    width: 100%;
}

.contact-form button {
    padding: 1rem;
    background: var(--black);
    color: var(--white);
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    transition: background 0.3s;
}

.contact-form button:hover {
    background: var(--red);
}

.form-group-check {
    font-size: 0.9rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.form-group-check input {
    width: auto;
    margin-top: 5px;
}

.disclaimer-text {
    font-size: 0.85rem;
    color: #666;
    margin-top: 1rem;
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

/* FOOTER */
.magazine-footer {
    background: var(--black);
    color: #999;
    padding: 4rem 0 1rem;
}

.magazine-footer h4 {
    color: var(--white);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1.1rem;
}

.footer-columns {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-nav ul, .footer-legal ul {
    list-style: none;
}

.footer-nav li, .footer-legal li {
    margin-bottom: 0.5rem;
}

.footer-copyright {
    border-top: 1px solid #333;
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.9rem;
}

/* COOKIE BANNER */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--white);
    border-top: 4px solid var(--black);
    padding: 1.5rem;
    display: none;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 9999;
}

.cookie-buttons button {
    padding: 0.5rem 1.5rem;
    margin-left: 1rem;
    cursor: pointer;
    border: none;
    background: var(--black);
    color: var(--white);
}

.cookie-buttons button.btn-outline {
    background: transparent;
    border: 1px solid var(--black);
    color: var(--black);
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .masonry-container {
        column-count: 2;
    }
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .featured-hero h1 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        gap: 1rem;
    }
    .nav-magazine a {
        margin: 0 0.5rem;
        font-size: 0.85rem;
    }
    .two-col-text {
        grid-template-columns: 1fr;
    }
    .contact-layout {
        grid-template-columns: 1fr;
    }
    .footer-columns {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .masonry-container {
        column-count: 1;
    }
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    .cookie-banner {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}