/* ===== CSS Variables ===== */
:root {
    --color-primary: #1a365d;
    --color-primary-light: #2c5282;
    --color-primary-dark: #0d1f3c;
    --color-accent: #e07b39;
    --color-accent-light: #ed8936;
    --color-accent-dark: #c05621;
    --color-text: #2d3748;
    --color-text-light: #4a5568;
    --color-text-muted: #718096;
    --color-bg: #ffffff;
    --color-bg-light: #f7fafc;
    --color-bg-alt: #edf2f7;
    --color-border: #e2e8f0;
    --color-success: #38a169;
    --color-white: #ffffff;

    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Playfair Display', Georgia, serif;

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

    --radius-sm: 0.25rem;
    --radius: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.5rem;

    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-bg);
    overflow-x: hidden;
}

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

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

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

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-primary-dark);
}

h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }
h4 { font-size: 1.25rem; }

/* ===== Container ===== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ===== Header & Navigation ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    transition: var(--transition);
}

.header.scrolled {
    background: var(--color-white);
    box-shadow: var(--shadow);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo img {
    height: 50px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text);
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--color-primary);
    transition: var(--transition);
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 4rem;
    background: linear-gradient(135deg, var(--color-bg-light) 0%, var(--color-bg) 50%, var(--color-bg-alt) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 70%;
    height: 150%;
    background: radial-gradient(ellipse, rgba(224, 123, 57, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
}

.hero h1 {
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.hero h1 .highlight {
    color: var(--color-accent);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-light);
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

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

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--color-accent);
    color: var(--color-white);
    border-color: var(--color-accent);
}

.btn-primary:hover {
    background: var(--color-accent-dark);
    border-color: var(--color-accent-dark);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-secondary:hover {
    background: var(--color-primary);
    color: var(--color-white);
    transform: translateY(-2px);
}

/* ===== Data Animation ===== */
.hero-visual {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 40%;
    height: 60%;
    opacity: 0.3;
}

.data-animation {
    width: 100%;
    height: 100%;
    position: relative;
}

.data-stream {
    position: absolute;
    width: 2px;
    background: linear-gradient(to bottom, transparent, var(--color-accent), transparent);
    animation: dataFlow 3s ease-in-out infinite;
}

.data-stream:nth-child(1) { left: 20%; height: 60%; animation-delay: 0s; }
.data-stream:nth-child(2) { left: 50%; height: 80%; animation-delay: 0.5s; }
.data-stream:nth-child(3) { left: 80%; height: 50%; animation-delay: 1s; }

@keyframes dataFlow {
    0%, 100% { opacity: 0.3; transform: scaleY(0.8); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ===== Section Styling ===== */
.section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.section-tag {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.section-intro {
    font-size: 1.125rem;
    color: var(--color-text-light);
    margin-top: 1rem;
}

/* ===== Data Mining Section ===== */
.datamining {
    background: var(--color-bg-light);
}

.datamining-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.overview-card {
    background: var(--color-white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.overview-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-accent-light), var(--color-accent));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.overview-icon svg {
    width: 30px;
    height: 30px;
    color: var(--color-white);
}

.overview-card h3 {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.overview-card p {
    color: var(--color-text-light);
}

/* ===== Services Grid ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.service-card {
    background: var(--color-white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--color-border);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-accent);
}

.service-icon {
    width: 50px;
    height: 50px;
    background: var(--color-bg-alt);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--color-accent);
}

.service-icon svg {
    width: 24px;
    height: 24px;
    color: var(--color-accent);
    transition: var(--transition);
}

.service-card:hover .service-icon svg {
    color: var(--color-white);
}

.service-card h3 {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.service-card > p {
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.service-features li {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    background: var(--color-bg-alt);
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-sm);
}

/* ===== Process Section ===== */
.process-section {
    margin-top: 4rem;
    padding-top: 4rem;
    border-top: 1px solid var(--color-border);
}

.process-section h3 {
    text-align: center;
    margin-bottom: 3rem;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
}

.process-step {
    text-align: center;
    padding: 1.5rem;
}

.step-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-accent);
    opacity: 0.3;
    line-height: 1;
    margin-bottom: 1rem;
}

.process-step h4 {
    font-family: var(--font-primary);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.process-step p {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

/* ===== Industries Section ===== */
.industries-section {
    margin-top: 4rem;
    padding-top: 4rem;
    border-top: 1px solid var(--color-border);
}

.industries-section h3 {
    text-align: center;
    margin-bottom: 2rem;
}

.industries-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.industry-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--color-white);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--color-border);
}

.industry-icon {
    width: 24px;
    height: 24px;
}

.industry-icon svg {
    width: 100%;
    height: 100%;
    color: var(--color-accent);
}

.industry-item span:last-child {
    font-size: 0.95rem;
    font-weight: 500;
}

/* ===== Products Section ===== */
.products {
    background: var(--color-white);
    padding-bottom: 0;
}

/* ===== Billigerda Section ===== */
.billigerda {
    background: linear-gradient(180deg, var(--color-white) 0%, var(--color-bg-light) 100%);
}

.product-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.product-showcase.reverse {
    direction: rtl;
}

.product-showcase.reverse > * {
    direction: ltr;
}

.product-tag {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.product-content h2 {
    margin-bottom: 0.5rem;
}

.product-slogan {
    font-size: 1.25rem;
    font-style: italic;
    color: var(--color-accent);
    margin-bottom: 1.5rem;
}

.product-description {
    color: var(--color-text-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

/* ===== Product Features ===== */
.product-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.feature {
    display: flex;
    gap: 1rem;
}

.feature-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: var(--color-bg-alt);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 20px;
    height: 20px;
    color: var(--color-accent);
}

.feature-text h4 {
    font-family: var(--font-primary);
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.feature-text p {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

/* ===== Benefits Grid ===== */
.product-benefits {
    background: var(--color-white);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.product-benefits h4 {
    font-family: var(--font-primary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.benefit-card {
    padding: 1rem;
    background: var(--color-bg-light);
    border-radius: var(--radius);
}

.benefit-card h5 {
    font-family: var(--font-primary);
    font-size: 0.95rem;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.benefit-card p {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* ===== Billigerda Header ===== */
.billigerda-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    padding: 2rem;
    background: var(--color-white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
}

.billigerda-logo {
    width: 120px;
    height: 120px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    flex-shrink: 0;
}

.billigerda-title {
    flex: 1;
}

.billigerda-title h2 {
    margin-bottom: 0.25rem;
}

/* ===== Stores List ===== */
.billigerda-stores {
    margin-bottom: 2rem;
}

.billigerda-stores h4 {
    font-family: var(--font-primary);
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.stores-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.store-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-text);
    transition: var(--transition);
}

.store-badge:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    color: var(--color-white);
}

/* ===== App Features Grid ===== */
.billigerda-app-features {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    border-radius: var(--radius-lg);
}

.billigerda-app-features h4 {
    font-family: var(--font-primary);
    font-size: 1rem;
    margin-bottom: 1rem;
    color: var(--color-white);
}

.app-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.app-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    backdrop-filter: blur(5px);
}

.app-feature-icon {
    width: 40px;
    height: 40px;
    background: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.app-feature-icon svg {
    width: 20px;
    height: 20px;
    color: #dc2626;
}

.app-feature > span:not(.app-feature-icon) {
    font-weight: 600;
    color: var(--color-white);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.app-feature p {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* ===== App Screenshot ===== */
.app-screenshot-container {
    position: relative;
    max-width: 350px;
    margin: 0 auto;
}

.app-screenshot {
    width: 100%;
    height: auto;
    border-radius: 2rem;
    box-shadow: var(--shadow-xl);
    border: 8px solid var(--color-primary-dark);
}

.screenshot-caption {
    position: absolute;
    bottom: -1rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-white);
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    font-size: 0.875rem;
    color: var(--color-text);
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.caption-badge {
    background: var(--color-success);
    color: var(--color-white);
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* ===== Achgut Section ===== */
.achgut {
    background: var(--color-white);
}

.achgut-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.achgut-feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.achgut-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--color-primary-light), var(--color-primary));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

.achgut-icon svg {
    width: 24px;
    height: 24px;
    color: var(--color-white);
}

.achgut-feature h4 {
    font-family: var(--font-primary);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.achgut-feature p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* ===== Tech Stack ===== */
.tech-stack {
    background: var(--color-bg-light);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
}

.tech-stack h4 {
    font-family: var(--font-primary);
    margin-bottom: 1rem;
}

.tech-stack ul {
    list-style: none;
}

.tech-stack li {
    padding: 0.5rem 0;
    font-size: 0.95rem;
    color: var(--color-text-light);
    border-bottom: 1px solid var(--color-border);
}

.tech-stack li:last-child {
    border-bottom: none;
}

.tech-stack li strong {
    color: var(--color-primary);
}

/* ===== Achgut Visual ===== */
.achgut-visual {
    background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
    border-radius: var(--radius-xl);
    padding: 3rem 2rem;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.data-flow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.flow-step {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 1rem 2rem;
    border-radius: var(--radius);
    color: var(--color-white);
    font-weight: 500;
    text-align: center;
    min-width: 180px;
    backdrop-filter: blur(5px);
}

.flow-step.mining {
    background: var(--color-accent);
    border-color: var(--color-accent);
}

.flow-step.ai {
    background: rgba(56, 161, 105, 0.8);
    border-color: var(--color-success);
}

.flow-arrow {
    width: 2px;
    height: 20px;
    background: rgba(255, 255, 255, 0.5);
    position: relative;
}

.flow-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid rgba(255, 255, 255, 0.5);
}

/* ===== Stats Section ===== */
.stats {
    background: var(--color-primary-dark);
    padding: 4rem 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item {
    color: var(--color-white);
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    font-family: var(--font-heading);
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, var(--color-white), var(--color-accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.95rem;
    opacity: 0.8;
}

/* ===== Contact Section ===== */
.contact {
    background: var(--color-bg-light);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h2 {
    margin-bottom: 1rem;
}

.contact-info > p {
    color: var(--color-text-light);
    margin-bottom: 2rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.contact-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: var(--color-accent);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-icon svg {
    width: 24px;
    height: 24px;
    color: var(--color-white);
}

.contact-text h4 {
    font-family: var(--font-primary);
    font-size: 0.9rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.contact-text p {
    color: var(--color-text);
    line-height: 1.6;
}

.contact-text a {
    color: var(--color-text);
}

.contact-text a:hover {
    color: var(--color-accent);
}

/* ===== Map Container ===== */
.contact-map {
    position: relative;
}

.map-container {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--color-bg-alt);
}

.map-container iframe {
    display: block;
    width: 100%;
    height: 400px;
    border: none;
}

.map-link {
    display: block;
    text-align: center;
    padding: 0.75rem;
    background: var(--color-white);
    color: var(--color-primary);
    font-size: 0.9rem;
    font-weight: 500;
    border-top: 1px solid var(--color-border);
    transition: var(--transition);
}

.map-link:hover {
    background: var(--color-accent);
    color: var(--color-white);
}

/* ===== Footer ===== */
.footer {
    background: var(--color-primary-dark);
    color: var(--color-white);
    padding: 4rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
    height: 40px;
    margin-bottom: 1rem;
    filter: brightness(0) invert(1);
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.footer-tagline {
    font-size: 0.875rem !important;
    opacity: 0.6;
    margin-top: 0.5rem !important;
}

.footer-column h4 {
    color: var(--color-white);
    font-family: var(--font-primary);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-column a,
.footer-column li {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.footer-column a:hover {
    color: var(--color-accent-light);
}

.footer-bottom {
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .product-showcase {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .product-showcase.reverse {
        direction: ltr;
    }

    .product-visual {
        order: -1;
    }

    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--color-white);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        box-shadow: var(--shadow-lg);
        transform: translateY(-150%);
        opacity: 0;
        transition: var(--transition);
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
    }

    .nav-toggle {
        display: flex;
    }

    .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 {
        padding: 6rem 0 3rem;
        min-height: auto;
    }

    .hero-visual {
        display: none;
    }

    .section {
        padding: 4rem 0;
    }

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

    .billigerda-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
        padding: 1.5rem;
    }

    .billigerda-logo {
        width: 100px;
        height: 100px;
    }

    .app-features-grid {
        grid-template-columns: 1fr 1fr;
    }

    .app-screenshot-container {
        max-width: 280px;
    }

    .screenshot-caption {
        font-size: 0.75rem;
        padding: 0.5rem 1rem;
    }

    .product-features,
    .achgut-features,
    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .industries-grid {
        flex-direction: column;
    }

    .industry-item {
        width: 100%;
        justify-content: center;
    }

    .phone-mockup {
        max-width: 280px;
    }

    .achgut-visual {
        padding: 2rem 1rem;
    }

    .flow-step {
        padding: 0.75rem 1.5rem;
        min-width: 150px;
        font-size: 0.9rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

/* ===== Legal Pages ===== */
.legal-page {
    padding-top: 2rem;
    padding-bottom: 4rem;
    background: var(--color-bg-light);
    min-height: 100vh;
}

.legal-hero {
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
    padding: 3rem 0;
    margin-bottom: 3rem;
    padding-top: calc(80px + 3rem);
}

.legal-hero .container {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.legal-hero-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.legal-hero-icon svg {
    width: 40px;
    height: 40px;
    color: var(--color-white);
}

.legal-hero-text h1 {
    color: var(--color-white);
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.legal-hero-text p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
}

.legal-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.legal-breadcrumb a {
    color: var(--color-text-muted);
    transition: var(--transition);
}

.legal-breadcrumb a:hover {
    color: var(--color-accent);
}

.legal-breadcrumb span {
    color: var(--color-text-light);
}

.legal-breadcrumb .separator {
    color: var(--color-border);
}

.legal-wrapper {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
    align-items: start;
}

.legal-sidebar {
    position: sticky;
    top: 100px;
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.legal-sidebar h3 {
    font-family: var(--font-primary);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-muted);
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--color-border);
}

.legal-nav {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.legal-nav a {
    display: block;
    padding: 0.6rem 0.75rem;
    color: var(--color-text-light);
    font-size: 0.9rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    border-left: 2px solid transparent;
}

.legal-nav a:hover {
    background: var(--color-bg-light);
    color: var(--color-primary);
    border-left-color: var(--color-accent);
}

.legal-nav a.active {
    background: var(--color-bg-light);
    color: var(--color-primary);
    border-left-color: var(--color-accent);
    font-weight: 500;
}

.legal-content {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
}

.legal-content h1 {
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--color-border);
}

.legal-content h2 {
    font-size: 1.25rem;
    color: var(--color-primary);
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
    scroll-margin-top: 100px;
}

.legal-content h2:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.legal-content h3 {
    font-size: 1.1rem;
    color: var(--color-text);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.legal-content h4 {
    font-size: 1rem;
    color: var(--color-text);
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
}

.legal-content p {
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.legal-content ul,
.legal-content ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

.legal-content li {
    color: var(--color-text-light);
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

.legal-content a {
    color: var(--color-accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

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

.legal-info-card {
    background: var(--color-bg-light);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-left: 4px solid var(--color-accent);
}

.legal-info-card p {
    margin-bottom: 0;
}

.legal-contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.legal-contact-item {
    background: var(--color-bg-light);
    padding: 1rem 1.25rem;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.legal-contact-item svg {
    width: 20px;
    height: 20px;
    color: var(--color-accent);
    flex-shrink: 0;
}

.legal-contact-item span {
    color: var(--color-text);
    font-size: 0.95rem;
}

.legal-contact-item a {
    text-decoration: none;
}

.legal-contact-item a:hover span {
    color: var(--color-accent);
}

.legal-back-link {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.legal-last-updated {
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* Legal page responsive */
@media (max-width: 1024px) {
    .legal-wrapper {
        grid-template-columns: 1fr;
    }

    .legal-sidebar {
        position: static;
        display: none;
    }

    .legal-hero-text h1 {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .legal-page {
        padding-top: 1.5rem;
    }

    .legal-hero {
        padding-top: calc(70px + 2rem);
        padding-bottom: 2rem;
    }

    .legal-hero .container {
        flex-direction: column;
        text-align: center;
    }

    .legal-hero-icon {
        width: 60px;
        height: 60px;
    }

    .legal-hero-icon svg {
        width: 30px;
        height: 30px;
    }

    .legal-hero-text h1 {
        font-size: 1.75rem;
    }

    .legal-content {
        padding: 1.5rem;
    }

    .legal-content h1 {
        font-size: 1.5rem;
    }

    .legal-content h2 {
        font-size: 1.15rem;
    }

    .legal-contact-grid {
        grid-template-columns: 1fr;
    }

    .legal-back-link {
        flex-direction: column;
        text-align: center;
    }
}

/* ===== Cookie Consent Banner ===== */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--color-white);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    padding: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.cookie-content {
    max-width: 1200px;
    width: 100%;
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: space-between;
}

.cookie-text h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

.cookie-text p {
    font-size: 0.9rem;
    color: var(--color-text-light);
    margin-bottom: 0.5rem;
    line-height: 1.5;
}

.cookie-text p:last-child {
    margin-bottom: 0;
}

.cookie-text a {
    color: var(--color-accent);
    text-decoration: underline;
}

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

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }

    .cookie-buttons {
        width: 100%;
        justify-content: center;
    }

    .cookie-buttons .btn {
        flex: 1;
        max-width: 200px;
    }
}

/* ===== Cookie Table (for cookie-richtlinie.html) ===== */
.cookie-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    background: var(--color-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.cookie-table th,
.cookie-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--color-border);
}

.cookie-table th {
    background: var(--color-primary);
    color: var(--color-white);
    font-weight: 600;
    font-size: 0.9rem;
}

.cookie-table td {
    font-size: 0.9rem;
    color: var(--color-text);
}

.cookie-table tr:last-child td {
    border-bottom: none;
}

.cookie-table tr:hover td {
    background: var(--color-bg-light);
}
