/* ========================================
   123 Eco Marketing & Trade Verwaltungs GmbH
   Corporate Classic Stylesheet
   ======================================== */

/* --- Reset & Base --- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1a2744;
    --accent: #4a8c5c;
    --dark: #0d1520;
    --light: #f8f6f0;
    --text: #2c2c2c;
    --font-heading: Georgia, 'Times New Roman', serif;
    --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --line-height: 1.8;
    --max-width: 1140px;
    --nav-height: 120px;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--text);
    line-height: var(--line-height);
    background-color: var(--light);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary);
    font-weight: 700;
    line-height: 1.3;
}

h1 { font-size: 2.75rem; margin-bottom: 1rem; }
h2 { font-size: 2.125rem; margin-bottom: 0.875rem; }
h3 { font-size: 1.625rem; margin-bottom: 0.75rem; }
h4 { font-size: 1.25rem; margin-bottom: 0.625rem; }

p { margin-bottom: 1.25rem; }

ul, ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

li { margin-bottom: 0.5rem; }

/* --- Container --- */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* --- Header & Navigation --- */
.site-header {
    background: #fff;
    border-bottom: 1px solid rgba(26, 39, 68, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
    box-shadow: 0 2px 20px rgba(13, 21, 32, 0.08);
}

.header-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 2rem 0;
    max-width: var(--max-width);
    margin: 0 auto;
}

.header-logo {
    margin-bottom: 0.75rem;
}

.header-logo a {
    display: inline-block;
}

.header-logo img {
    height: 40px;
    width: auto;
}

.main-nav {
    width: 100%;
    display: flex;
    justify-content: center;
    border-top: 1px solid rgba(26, 39, 68, 0.08);
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    padding: 0;
    margin: 0;
}

.nav-links li {
    margin: 0;
}

.nav-links a {
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--primary);
    text-decoration: none;
    padding: 0.5rem 0;
    position: relative;
    letter-spacing: 0.02em;
    transition: color 0.3s ease;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.nav-links a:hover {
    color: var(--accent);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--primary);
    margin: 5px 0;
    transition: all 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero Section --- */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 50%, #1e3a28 100%);
    color: #fff;
    text-align: center;
    padding: 8rem 2rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 50%, rgba(74, 140, 92, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(26, 39, 68, 0.3) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    color: #fff;
    font-size: 3.25rem;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}

.hero p {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-small {
    padding: 5rem 2rem;
}

.hero-small h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-small p {
    font-size: 1.125rem;
}

/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.02em;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
}

.btn-primary:hover {
    background: #3d7a4e;
    color: #fff;
}

.btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
}

.btn-outline:hover {
    background: #fff;
    color: var(--primary);
}

.btn-dark {
    background: var(--primary);
    color: #fff;
}

.btn-dark:hover {
    background: var(--dark);
    color: #fff;
}

/* --- Sections --- */
.section {
    padding: 5rem 0;
}

.section-light {
    background: var(--light);
}

.section-white {
    background: #fff;
}

.section-dark {
    background: var(--primary);
    color: #fff;
}

.section-dark h2,
.section-dark h3 {
    color: #fff;
}

.section-dark a {
    color: #a8d5b8;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

.section-header p {
    font-size: 1.125rem;
    color: #666;
}

.section-dark .section-header p {
    color: rgba(255, 255, 255, 0.8);
}

/* --- Prose Intro --- */
.prose-intro {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 2rem;
    font-size: 1.125rem;
}

.prose-intro p:first-of-type {
    font-size: 1.25rem;
    color: var(--primary);
    font-family: var(--font-heading);
}

/* --- Alternating Blocks --- */
.alt-block {
    display: flex;
    align-items: center;
    gap: 4rem;
    padding: 4rem 0;
    border-bottom: 1px solid rgba(26, 39, 68, 0.08);
}

.alt-block:last-child {
    border-bottom: none;
}

.alt-block.reverse {
    flex-direction: row-reverse;
}

.alt-block-text {
    flex: 1;
}

.alt-block-visual {
    flex: 1;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-pattern {
    width: 100%;
    min-height: 280px;
    position: relative;
    overflow: hidden;
}

.visual-pattern-1 {
    background: linear-gradient(135deg, var(--primary) 0%, #2a3f5f 100%);
}

.visual-pattern-1::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 15%;
    width: 70%;
    height: 60%;
    border: 2px solid rgba(74, 140, 92, 0.3);
}

.visual-pattern-1::after {
    content: '';
    position: absolute;
    top: 30%;
    left: 25%;
    width: 50%;
    height: 40%;
    background: rgba(74, 140, 92, 0.1);
}

.visual-pattern-2 {
    background: linear-gradient(45deg, var(--accent) 0%, #6aac7c 100%);
}

.visual-pattern-2::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        repeating-linear-gradient(0deg, transparent, transparent 40px, rgba(255,255,255,0.05) 40px, rgba(255,255,255,0.05) 41px),
        repeating-linear-gradient(90deg, transparent, transparent 40px, rgba(255,255,255,0.05) 40px, rgba(255,255,255,0.05) 41px);
}

.visual-pattern-3 {
    background: linear-gradient(180deg, var(--dark) 0%, var(--primary) 100%);
}

.visual-pattern-3::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    border: 3px solid rgba(74, 140, 92, 0.4);
}

.visual-pattern-3::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 80px;
    height: 80px;
    border: 3px solid rgba(74, 140, 92, 0.3);
}

/* --- Timeline --- */
.timeline {
    position: relative;
    padding: 2rem 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(26, 39, 68, 0.15);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding: 0 0 3rem;
    width: 50%;
    position: relative;
}

.timeline-item:nth-child(even) {
    justify-content: flex-start;
    margin-left: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    right: -7px;
    top: 0.5rem;
    width: 12px;
    height: 12px;
    background: var(--accent);
    border: 2px solid var(--light);
}

.timeline-item:nth-child(even)::after {
    left: -7px;
    right: auto;
}

.timeline-content {
    padding: 1.5rem;
    background: #fff;
    border: 1px solid rgba(26, 39, 68, 0.08);
    max-width: 400px;
    margin-right: 2rem;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 2rem;
    margin-right: 0;
}

.timeline-year {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--accent);
    display: block;
    margin-bottom: 0.5rem;
}

/* --- Testimonial --- */
.testimonial {
    text-align: center;
    padding: 5rem 2rem;
    background: #fff;
}

.testimonial blockquote {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    color: var(--primary);
    line-height: 1.5;
    max-width: 800px;
    margin: 0 auto 1.5rem;
    font-style: italic;
}

.testimonial blockquote::before {
    content: '\201E';
    font-size: 4rem;
    color: var(--accent);
    display: block;
    line-height: 0.5;
    margin-bottom: 1rem;
}

.testimonial cite {
    font-family: var(--font-body);
    font-size: 1rem;
    font-style: normal;
    color: #666;
    display: block;
}

.testimonial cite strong {
    color: var(--text);
    display: block;
    margin-bottom: 0.25rem;
}

/* --- CTA Band --- */
.cta-band {
    background: var(--dark);
    color: #fff;
    text-align: center;
    padding: 5rem 2rem;
}

.cta-band h2 {
    color: #fff;
    margin-bottom: 1rem;
}

.cta-band p {
    font-size: 1.125rem;
    opacity: 0.85;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Service Cards --- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.service-card {
    background: #fff;
    border: 1px solid rgba(26, 39, 68, 0.08);
    padding: 2.5rem 2rem;
    transition: all 0.3s ease;
}

.service-card:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 20px rgba(13, 21, 32, 0.08);
}

.service-card-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-card-icon svg {
    width: 28px;
    height: 28px;
    stroke: #fff;
    fill: none;
    stroke-width: 1.5;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.service-card p {
    color: #666;
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
}

.service-card .card-link {
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--accent);
}

.service-card .card-link::after {
    content: ' \2192';
}

/* --- Detail Page --- */
.detail-content {
    padding: 4rem 0;
}

.detail-content h2 {
    margin-top: 2.5rem;
}

.detail-content ul {
    list-style: none;
    padding: 0;
}

.detail-content ul li {
    padding: 0.5rem 0 0.5rem 1.5rem;
    position: relative;
}

.detail-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1rem;
    width: 8px;
    height: 2px;
    background: var(--accent);
}

.detail-sidebar {
    background: #fff;
    border: 1px solid rgba(26, 39, 68, 0.08);
    padding: 2rem;
    margin-top: 2rem;
}

.detail-sidebar h4 {
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--accent);
}

.detail-sidebar ul {
    list-style: none;
    padding: 0;
}

.detail-sidebar ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(26, 39, 68, 0.05);
}

.detail-sidebar ul li:last-child {
    border-bottom: none;
}

.detail-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 3rem;
    align-items: start;
}

/* --- Reference / Case Studies --- */
.case-study {
    background: #fff;
    border: 1px solid rgba(26, 39, 68, 0.08);
    padding: 2.5rem;
    margin-bottom: 2rem;
}

.case-study-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.case-study-tag {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: rgba(74, 140, 92, 0.08);
    padding: 0.25rem 0.75rem;
}

.case-study-result {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(26, 39, 68, 0.08);
}

.case-study-result strong {
    color: var(--accent);
}

/* --- Blog / Aktuelles --- */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.blog-card {
    background: #fff;
    border: 1px solid rgba(26, 39, 68, 0.08);
    transition: border-color 0.3s ease;
}

.blog-card:hover {
    border-color: var(--accent);
}

.blog-card-header {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.blog-card-header-1 {
    background: linear-gradient(135deg, var(--primary), #2e4a6e);
}

.blog-card-header-2 {
    background: linear-gradient(135deg, #1e3a28, var(--accent));
}

.blog-card-header span {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.12);
    font-weight: 700;
}

.blog-card-body {
    padding: 2rem;
}

.blog-card-date {
    font-size: 0.8125rem;
    color: #999;
    margin-bottom: 0.75rem;
    display: block;
}

.blog-card-body h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.blog-card-body h3 a {
    color: var(--primary);
}

.blog-card-body h3 a:hover {
    color: var(--accent);
}

.blog-card-body p {
    color: #666;
    font-size: 0.9375rem;
}

.article-content {
    max-width: 760px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.article-meta {
    font-size: 0.875rem;
    color: #999;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(26, 39, 68, 0.08);
}

.article-content h2 {
    margin-top: 2.5rem;
}

.article-content blockquote {
    border-left: 3px solid var(--accent);
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    background: rgba(74, 140, 92, 0.04);
    font-style: italic;
}

/* --- FAQ --- */
.faq-item {
    border-bottom: 1px solid rgba(26, 39, 68, 0.1);
    padding: 1.5rem 0;
}

.faq-question {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    color: var(--primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    padding: 0;
    line-height: 1.4;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--accent);
    flex-shrink: 0;
    margin-left: 1rem;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    content: '\2212';
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-top: 1rem;
}

.faq-answer p {
    color: #666;
}

/* --- Career --- */
.job-listing {
    background: #fff;
    border: 1px solid rgba(26, 39, 68, 0.08);
    padding: 2rem;
    margin-bottom: 1.5rem;
    transition: border-color 0.3s ease;
}

.job-listing:hover {
    border-color: var(--accent);
}

.job-listing h3 {
    margin-bottom: 0.5rem;
}

.job-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: #999;
}

.job-meta span::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    background: var(--accent);
    margin-right: 0.5rem;
    vertical-align: middle;
}

/* --- Contact Form --- */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info {
    padding: 2rem 0;
}

.contact-info h3 {
    margin-bottom: 1.5rem;
}

.contact-info-item {
    margin-bottom: 1.5rem;
    padding-left: 0;
}

.contact-info-item strong {
    display: block;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

form {
    background: #fff;
    padding: 2.5rem;
    border: 1px solid rgba(26, 39, 68, 0.08);
}

form label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.375rem;
    margin-top: 1.25rem;
}

form label:first-of-type {
    margin-top: 0;
}

form input[type="text"],
form input[type="email"],
form input[type="tel"],
form select,
form textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(26, 39, 68, 0.15);
    background: var(--light);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text);
    transition: border-color 0.3s ease;
}

form input:focus,
form select:focus,
form textarea:focus {
    outline: none;
    border-color: var(--accent);
}

form select {
    appearance: auto;
}

form textarea {
    resize: vertical;
}

.form-consent {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    margin-top: 1.5rem;
}

.form-consent input[type="checkbox"] {
    margin-top: 0.3rem;
    flex-shrink: 0;
}

.form-consent label {
    margin: 0;
    font-weight: 400;
    font-size: 0.875rem;
    color: #666;
}

form button[type="submit"] {
    display: block;
    width: 100%;
    margin-top: 1.5rem;
    padding: 1rem;
    background: var(--accent);
    color: #fff;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

form button[type="submit"]:hover {
    background: #3d7a4e;
}

.success-message {
    background: rgba(74, 140, 92, 0.1);
    border: 1px solid var(--accent);
    padding: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--accent);
    font-weight: 600;
}

/* --- Values / Company --- */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.value-item {
    text-align: center;
    padding: 2rem;
}

.value-number {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--accent);
    display: block;
    margin-bottom: 0.75rem;
}

.value-item h3 {
    font-size: 1.125rem;
    margin-bottom: 0.75rem;
}

.value-item p {
    color: #666;
    font-size: 0.9375rem;
}

/* --- Stats --- */
.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
    padding: 3rem 0;
}

.stat-item .stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--accent);
    display: block;
}

.section-dark .stat-number {
    color: #a8d5b8;
}

.stat-item .stat-label {
    font-size: 0.9375rem;
    color: #666;
    margin-top: 0.25rem;
    display: block;
}

.section-dark .stat-label {
    color: rgba(255, 255, 255, 0.7);
}

/* --- Legal Pages --- */
.legal-content {
    padding: 4rem 0;
}

.legal-content h2 {
    margin-top: 2.5rem;
    font-size: 1.5rem;
}

.legal-content h3 {
    margin-top: 1.5rem;
    font-size: 1.25rem;
}

.legal-content p,
.legal-content ul {
    color: #555;
}

.legal-content address {
    font-style: normal;
    line-height: 1.8;
}

/* --- Footer --- */
.site-footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.7);
    padding: 4rem 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand p {
    font-size: 0.9375rem;
    margin-top: 1rem;
    max-width: 280px;
}

.footer-brand img {
    height: 32px;
    filter: brightness(0) invert(1);
}

.site-footer h4 {
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 1.25rem;
}

.site-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.site-footer ul li {
    margin-bottom: 0.5rem;
}

.site-footer ul a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9375rem;
    transition: color 0.3s ease;
}

.site-footer ul a:hover {
    color: #fff;
}

.footer-bottom {
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.4);
}

/* --- Cookie Banner --- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--dark);
    color: rgba(255, 255, 255, 0.85);
    padding: 1.25rem 2rem;
    z-index: 9999;
    display: none;
    border-top: 1px solid rgba(74, 140, 92, 0.3);
}

.cookie-banner.visible {
    display: block;
}

.cookie-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cookie-inner p {
    margin: 0;
    font-size: 0.875rem;
}

.cookie-inner a {
    color: #a8d5b8;
}

.cookie-buttons {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 0.5rem 1.25rem;
    font-family: var(--font-body);
    font-size: 0.8125rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cookie-accept {
    background: var(--accent);
    color: #fff;
}

.cookie-accept:hover {
    background: #3d7a4e;
}

.cookie-decline {
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cookie-decline:hover {
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

/* --- Animations --- */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Breadcrumbs --- */
.breadcrumbs {
    padding: 1rem 0;
    font-size: 0.8125rem;
    color: #999;
}

.breadcrumbs a {
    color: #999;
}

.breadcrumbs a:hover {
    color: var(--accent);
}

.breadcrumbs span {
    margin: 0 0.5rem;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .detail-layout {
        grid-template-columns: 1fr;
    }

    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --nav-height: auto;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.625rem; }
    h3 { font-size: 1.25rem; }

    .header-inner {
        flex-direction: row;
        justify-content: space-between;
        padding: 1rem 1.5rem;
    }

    .header-logo {
        margin-bottom: 0;
    }

    .nav-toggle {
        display: block;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        justify-content: flex-start;
        padding: 5rem 2rem 2rem;
        border-top: none;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 1000;
    }

    .main-nav.open {
        right: 0;
    }

    .nav-links {
        flex-direction: column;
        gap: 0;
    }

    .nav-links a {
        display: block;
        padding: 0.75rem 0;
        font-size: 1rem;
        border-bottom: 1px solid rgba(26, 39, 68, 0.05);
    }

    .nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.4);
        z-index: 999;
    }

    .nav-overlay.active {
        display: block;
    }

    .hero {
        padding: 5rem 1.5rem;
    }

    .hero h1 {
        font-size: 2.25rem;
    }

    .hero-small {
        padding: 3.5rem 1.5rem;
    }

    .section {
        padding: 3rem 0;
    }

    .alt-block {
        flex-direction: column;
        gap: 2rem;
    }

    .alt-block.reverse {
        flex-direction: column;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .stats-row {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .timeline::before {
        left: 1rem;
    }

    .timeline-item,
    .timeline-item:nth-child(even) {
        width: 100%;
        margin-left: 0;
        justify-content: flex-start;
    }

    .timeline-item::after,
    .timeline-item:nth-child(even)::after {
        left: 5px;
        right: auto;
    }

    .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 2.5rem;
        margin-right: 0;
    }

    .cookie-inner {
        flex-direction: column;
        text-align: center;
    }

    .container {
        padding: 0 1.5rem;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 1.75rem; }

    .hero {
        padding: 3.5rem 1rem;
    }

    .hero p {
        font-size: 1rem;
    }

    form {
        padding: 1.5rem;
    }

    .case-study {
        padding: 1.5rem;
    }

    .cookie-buttons {
        width: 100%;
        flex-direction: column;
    }

    .cookie-btn {
        width: 100%;
        text-align: center;
    }
}

/* --- Print --- */
@media print {
    .site-header,
    .cookie-banner,
    .cta-band,
    .site-footer {
        display: none;
    }

    body {
        font-size: 12pt;
        color: #000;
        background: #fff;
    }

    a {
        color: #000;
        text-decoration: underline;
    }
}
