/* ========== main.css ========== */
/* ============================================================
   it-hartlieb.de — Main CSS (Warm Pouches Design)
   Imports: components.css
   ============================================================ */

/* components.css is included via css_bundle.php — no @import needed */

/* ============================================================
   CSS Variables
   ============================================================ */

:root {
    --bg: #faf9f7;
    --bg-surface: #ffffff;
    --text: #2c2416;
    --text-muted: #6b5b45;
    --accent: #c8540a;
    --accent-hover: #a8420a;
    --hero-start: #3d2b1a;
    --hero-mid: #5c3d20;
    --hero-end: #7a5230;
    --border: #ede8e0;
    --shadow: 0 2px 16px rgba(44,36,22,0.08);
    --shadow-hover: 0 6px 24px rgba(44,36,22,0.14);
    --radius: 12px;
    --font: -apple-system, system-ui, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* ============================================================
   Reset & Base
   ============================================================ */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

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

a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

ul {
    list-style: none;
}

/* ============================================================
   Typography
   ============================================================ */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text);
}

h1 { font-size: 2.75rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.25rem; }

p {
    color: var(--text-muted);
    line-height: 1.7;
}

/* ============================================================
   Layout Utilities
   ============================================================ */

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

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
}

.section-divider {
    height: 1px;
    background: var(--border);
    max-width: 960px;
    margin: 0 auto;
}

/* ============================================================
   Buttons
   ============================================================ */

.btn-primary {
    display: inline-block;
    background: var(--accent);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 12px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
    text-decoration: none;
}

.btn-primary:hover {
    background: var(--accent-hover);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(200,84,10,0.3);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-outline {
    display: inline-block;
    background: transparent;
    color: var(--accent);
    border: 2px solid var(--accent);
    border-radius: 8px;
    padding: 10px 26px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease;
    text-decoration: none;
}

.btn-outline:hover {
    background: var(--accent);
    color: #ffffff;
    transform: translateY(-1px);
}

.btn-outline:active {
    transform: translateY(0);
}

/* ============================================================
   Navigation
   ============================================================ */

.site-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: var(--hero-start);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    max-width: 1100px;
    margin: 0 auto;
    height: 64px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 1.15rem;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: -0.02em;
    flex-shrink: 0;
}

.nav-logo-mark {
    width: 32px;
    height: 24px;
    flex-shrink: 0;
}

.nav-logo:hover {
    color: rgba(255,255,255,0.85);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-links a {
    color: rgba(255,255,255,0.75);
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: #ffffff;
}

.nav-lang {
    display: flex;
    align-items: center;
    gap: 6px;
}

.lang-pill {
    display: inline-block;
    padding: 4px 10px;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 20px;
    color: rgba(255,255,255,0.7);
    font-size: 0.78rem;
    font-weight: 500;
    cursor: pointer;
    background: transparent;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
    text-decoration: none;
}

.lang-pill:hover {
    color: #ffffff;
    border-color: rgba(255,255,255,0.6);
}

.lang-pill.active {
    background: #ffffff;
    color: var(--hero-start);
    border-color: #ffffff;
    font-weight: 600;
}

/* ============================================================
   Hero Section
   ============================================================ */

.site-hero {
    background: linear-gradient(135deg, var(--hero-start) 0%, var(--hero-mid) 55%, var(--hero-end) 100%);
    color: #ffffff;
    padding: 100px 0 90px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.site-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 60% 40%, rgba(200,84,10,0.12) 0%, transparent 65%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
    padding: 0 24px;
}

.hero-eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.75);
    margin-bottom: 18px;
}

.hero h1,
.site-hero h1,
.hero-title {
    color: #ffffff;
    font-size: 2.75rem;
    margin-bottom: 20px;
    line-height: 1.15;
}

.hero-claim {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 36px;
    line-height: 1.65;
}

.hero-sub {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 36px;
    line-height: 1.65;
}

.hero-icons {
    display: flex;
    gap: 28px;
    justify-content: center;
    margin-bottom: 36px;
}

.hero-icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.hero-icon-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.08);
    transition: border-color 0.2s ease, background 0.2s ease;
}

.hero-icon-circle:hover {
    border-color: rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.08);
}

.hero-icon-circle svg {
    width: 24px;
    height: 24px;
}

.hero-icon-label {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.7);
    letter-spacing: 0.03em;
}

.hero-cta {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero .btn-outline {
    border-color: rgba(255,255,255,0.45);
    color: rgba(255,255,255,0.85);
}

.hero .btn-outline:hover {
    background: rgba(255,255,255,0.12);
    color: #ffffff;
    border-color: rgba(255,255,255,0.7);
}

/* ============================================================
   Section Headings
   ============================================================ */

.section-heading {
    text-align: center;
    margin-bottom: 56px;
}

.section-heading h2 {
    font-size: 2rem;
    color: var(--text);
    margin-bottom: 10px;
}

.section-heading p {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 520px;
    margin: 0 auto;
}

/* ============================================================
   Animations
   ============================================================ */

.fade-in {
    opacity: 0;
    transform: translateY(24px);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* ============================================================
   Legal Pages (Impressum / Datenschutz)
   ============================================================ */

.page-content {
    padding: 80px 0 120px;
    min-height: 60vh;
}

.legal-page h1 {
    font-size: 2rem;
    color: var(--text);
    margin-bottom: 40px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--border);
}

.legal-page section {
    margin-bottom: 40px;
}

.legal-page h2 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 12px;
    text-transform: none;
}

.legal-page p {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 8px;
}

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

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


/* ========== components.css ========== */
/* ============================================================
   it-hartlieb.de — Component CSS (Warm Pouches Design)
   Product cards, Services, Contact, Footer, Responsive
   ============================================================ */

/* ============================================================
   Product Sections
   ============================================================ */

.section-product {
    padding: 80px 0;
}

.section-product:nth-child(odd) {
    background-color: var(--bg);
}

.section-product:nth-child(even) {
    background-color: var(--bg-surface);
}

.product-card {
    display: flex;
    gap: 0;
    overflow: hidden;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    background: var(--bg-surface);
    border: 1px solid var(--border);
    max-width: 960px;
    margin: 0 auto;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.product-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-2px);
}

.product-card.reverse {
    flex-direction: row-reverse;
}

/* Wrapper übernimmt Flex-Position des Bildes */
.product-image-wrapper {
    position: relative;
    flex: 0 0 45%;
    width: 45%;
    max-width: 45%;
    min-height: 440px;
    max-height: 600px;
    align-self: stretch;
    overflow: hidden;
    display: block;
}

.product-image-wrapper .product-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


.product-info {
    flex: 1;
    min-width: 0;
    padding: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-title-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 4px;
}

.product-title-row h2 {
    margin: 0;
}

.product-logo {
    width: 78px;
    height: auto;
    flex-shrink: 0;
}

.product-logo svg {
    width: 100%;
    height: auto;
}

#appdev .product-logo {
    width: 63px;
}

.product-subtitle {
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 10px;
}

.product-info h2 {
    font-size: 1.75rem;
    color: var(--text);
    font-weight: 700;
    margin-bottom: 8px;
}

.product-tagline {
    font-style: italic;
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 24px;
    line-height: 1.5;
}

.product-description {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 24px;
    line-height: 1.7;
}

.feature-list {
    padding: 0;
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.feature-list li {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
    padding-left: 4px;
}

.feature-list li::before {
    content: "→ ";
    color: var(--accent);
    font-weight: 700;
}

.highlight-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.highlight-pill {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid var(--border);
    color: var(--text-muted);
    background: var(--bg);
}

.highlight-pill.accent {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(200,84,10,0.06);
    font-weight: 600;
}

/* Target Audience Cards */
.target-audience {
    margin-bottom: 24px;
}

.target-audience-title {
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 12px;
}

.target-cards {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 10px;
}

.target-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--bg);
    transition: box-shadow 0.2s ease;
}

.target-card:hover {
    box-shadow: var(--shadow);
}

.target-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    margin-bottom: 2px;
}

.target-card strong {
    font-size: 0.78rem;
    color: var(--text);
    font-weight: 600;
}

.target-card span {
    font-size: 0.72rem;
    color: var(--text-muted);
    line-height: 1.45;
}

@media (max-width: 768px) {
    .target-cards {
        grid-template-columns: 1fr;
    }
}

/* Use Case Block (Einfacher Chat etc.) */
.usecase-block {
    margin-bottom: 24px;
    padding: 16px;
    border-radius: 8px;
    border: 1px solid var(--border);
    background: var(--bg);
}

.usecase-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 8px;
}

.usecase-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.usecase-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin-bottom: 12px;
}

.usecase-features {
    margin-bottom: 0;
}

.usecase-features li {
    font-size: 0.82rem;
}

/* PWA Gallery */
.pwa-gallery {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.pwa-gallery::-webkit-scrollbar { display: none; }

.pwa-gallery-item {
    flex: 0 0 150px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    background: var(--bg-surface);
}

.pwa-gallery-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.pwa-gallery-item img {
    width: 100%;
    height: 90px;
    object-fit: cover;
    object-position: top;
    display: block;
}

.pwa-gallery-caption {
    padding: 8px 10px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pwa-gallery-caption strong {
    font-size: 0.72rem;
    color: var(--text);
}

.pwa-gallery-caption span {
    font-size: 0.65rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0,0,0,0.92);
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.lightbox.active { display: flex; }

.lightbox-content {
    max-width: 80vw;
    max-height: 70vh;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-content img {
    max-width: 80vw;
    max-height: 60vh;
    border-radius: 8px;
    display: block;
    object-fit: contain;
}

.lightbox-caption {
    text-align: center;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    margin-top: 16px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.lightbox-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    color: rgba(255,255,255,0.6);
    font-size: 2rem;
    cursor: pointer;
    z-index: 10;
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.1);
    border: none;
    color: rgba(255,255,255,0.7);
    font-size: 2.5rem;
    cursor: pointer;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.lightbox-prev { left: 16px; }
.lightbox-next { right: 16px; }
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(255,255,255,0.2); }

.lightbox-counter {
    color: rgba(255,255,255,0.4);
    font-size: 0.8rem;
    margin-top: 12px;
}

.product-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* ============================================================
   Services Heading (above product sections)
   ============================================================ */

.section-services-heading {
    padding: 80px 0 24px;
    background-color: var(--bg);
    text-align: center;
}

/* Legacy service cards (removed, kept for reference) */
.service-card h3 {
    font-size: 1.1rem;
    color: var(--text);
    margin-bottom: 8px;
}

.service-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ============================================================
   Contact Section
   ============================================================ */

.section-contact {
    padding: 80px 0;
    background-color: var(--bg-surface);
    text-align: center;
}

.section-contact .section-heading {
    margin-bottom: 36px;
}

.contact-body {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 480px;
    margin: 0 auto 32px;
    line-height: 1.7;
}

.contact-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-linkedin {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--accent);
    color: #ffffff;
    border-radius: 8px;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
    border: none;
}

.btn-linkedin:hover {
    background: var(--accent-hover);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(200,84,10,0.3);
}

.btn-linkedin svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* ============================================================
   Footer
   ============================================================ */

.footer {
    background: var(--hero-start);
    color: rgba(255,255,255,0.65);
    padding: 40px 0;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-logo {
    font-size: 1rem;
    font-weight: 700;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-links a {
    color: rgba(255,255,255,0.5);
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: rgba(255,255,255,0.85);
}

.footer-copy {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.35);
    width: 100%;
    text-align: center;
    margin-top: 8px;
}

/* ============================================================
   Responsive — Tablet (max 900px)
   ============================================================ */

@media (max-width: 900px) {
    .product-info {
        padding: 36px 32px;
    }

    .product-info h2 {
        font-size: 1.5rem;
    }
}

/* ============================================================
   Responsive — Mobile (max 768px)
   ============================================================ */

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-inner {
        height: 56px;
    }

    .hero {
        padding: 70px 0 60px;
    }

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

    .hero-sub {
        font-size: 1rem;
    }

    .product-card,
    .product-card.reverse {
        flex-direction: column;
    }

    .product-image-wrapper {
        flex: none;
        width: 100%;
        min-height: 300px;
        max-height: 300px;
    }

    .product-image-wrapper .product-image {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .product-info {
        padding: 28px 24px;
    }

    .product-info h2 {
        font-size: 1.4rem;
    }

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

    .section-product,
    .section-services,
    .section-contact {
        padding: 56px 0;
    }

    .section-heading {
        margin-bottom: 36px;
    }

    .section-heading h2 {
        font-size: 1.6rem;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

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

/* ============================================================
   Responsive — Small Mobile (max 480px)
   ============================================================ */

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.75rem;
    }

    .hero-cta {
        flex-direction: column;
        align-items: center;
    }

    .product-actions {
        flex-direction: column;
    }

    .btn-primary,
    .btn-outline,
    .btn-linkedin {
        text-align: center;
        justify-content: center;
    }
}


/* ========== pouch-label.css ========== */
/* ============================================================
   Pouch Label — CSS Flexbox Overlay
   Replaces SVG coordinate-based label positioning.
   To change text: just edit the PHP section file.
   To change sizes: edit the classes below.
   ============================================================ */

.pouch-label {
    position: absolute;
    inset: 0;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 8%;
    gap: 3px;
}

/* Color themes */
.pouch-label--light { color: rgba(255,255,255,0.95); }
.pouch-label--warm  { color: rgba(255,235,220,0.95); }
.pouch-label--dark  { color: rgba(30,25,10,0.88); }

/* Shift content lower (Business Central) */
.pouch-label--shift-down-sm { padding-top: 55px; }

/* KI & Automation + KI Web Code — Titel ~10% kleiner */
#automation .pouch-title,
#kiwebcode .pouch-title { font-size: clamp(12px, 1.44vw, 17px); }

/* Shift content ~20px lower (App Entwicklung, KI & Automation) */
.pouch-label--shift-down { padding-top: 20px; }

/* Icon SVG — % des Bild-Containers, skaliert mit dem Bild bei jedem Zoom */
.pouch-icon {
    width: 30%;
    height: auto;
    margin-bottom: 14px;
    flex-shrink: 0;
}

/* Separator line */
.pouch-sep {
    width: 40%;
    height: 1px;
    background: currentColor;
    opacity: 0.4;
    margin: 5px 0;
    flex-shrink: 0;
    border: none;
}

/* Eyebrow — small text above the title */
.pouch-eyebrow {
    font-family: -apple-system, system-ui, sans-serif;
    font-size: clamp(6px, 0.7vw, 8.5px);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-align: center;
    opacity: 0.6;
    margin-bottom: 2px;
}

/* Main title */
.pouch-title {
    font-family: -apple-system, system-ui, sans-serif;
    font-size: clamp(13px, 1.6vw, 19px);
    font-weight: 800;
    letter-spacing: 0.28em;
    text-align: center;
    line-height: 1.25;
}

/* Large title variant (viavendo) */
.pouch-title--lg {
    font-size: clamp(15px, 2vw, 23px);
    letter-spacing: 0;
}

/* Medium subtitle — ZUGFeRD, ONLINE */
.pouch-subtitle {
    font-family: -apple-system, system-ui, sans-serif;
    font-size: clamp(8px, 1vw, 12px);
    font-weight: 600;
    letter-spacing: 0.25em;
    text-align: center;
    opacity: 0.65;
}

/* Small tag line */
.pouch-tags {
    font-family: -apple-system, system-ui, sans-serif;
    font-size: clamp(5.5px, 0.72vw, 8.5px);
    letter-spacing: 0.1em;
    text-align: center;
    opacity: 0.65;
    margin-top: 4px;
}

/* Dimmed sub-text */
.pouch-sub {
    font-family: -apple-system, system-ui, sans-serif;
    font-size: clamp(5px, 0.65vw, 7.5px);
    letter-spacing: 0.05em;
    text-align: center;
    opacity: 0.45;
    margin-top: 1px;
}


/* ========== service-scope.css ========== */
/* ============================================================
   it-hartlieb.de — Service Scope Component
   Leistungsumfang-Block mit Phasen, Zeitrahmen-Badge
   ============================================================ */

.service-scope {
    margin-bottom: 28px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--bg);
    overflow: hidden;
}

.scope-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(135deg, rgba(200,84,10,0.04) 0%, rgba(200,84,10,0.01) 100%);
}

.scope-header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.scope-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    color: var(--accent);
}

.scope-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.scope-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 20px;
    background: rgba(200,84,10,0.08);
    border: 1px solid rgba(200,84,10,0.2);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent);
    white-space: nowrap;
}

.scope-badge svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.scope-phases {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.scope-phase {
    display: flex;
    gap: 12px;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    border-right: 1px solid var(--border);
    transition: background 0.2s ease;
    position: relative;
}

.scope-phase:hover {
    background: rgba(200,84,10,0.03);
}

/* Remove right border on every 2nd column */
.scope-phase:nth-child(2n) {
    border-right: none;
}

/* Remove bottom border on last row */
.scope-phases[data-cols="2"] .scope-phase:nth-last-child(-n+2) {
    border-bottom: none;
}

.scope-phase:last-child {
    border-bottom: none;
}

/* Phase number circle */
.scope-phase-num {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(200,84,10,0.08);
    border: 1.5px solid rgba(200,84,10,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 1px;
}

.scope-phase-content {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.scope-phase-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text);
    line-height: 1.35;
}

.scope-phase-desc {
    font-size: 0.72rem;
    color: var(--text-muted);
    line-height: 1.45;
}

.scope-footer {
    padding: 12px 20px;
    border-top: 1px solid var(--border);
    background: linear-gradient(135deg, rgba(200,84,10,0.03) 0%, transparent 100%);
    font-size: 0.72rem;
    color: var(--text-muted);
    line-height: 1.5;
    text-align: center;
    font-style: italic;
}

/* 3-column variant for more phases */
.scope-phases.cols-3 {
    grid-template-columns: 1fr 1fr 1fr;
}

.scope-phases.cols-3 .scope-phase:nth-child(3n) {
    border-right: none;
}

.scope-phases.cols-3 .scope-phase:nth-child(2n) {
    border-right: 1px solid var(--border);
}

/* ============================================================
   Scope Toggle — Expand/Collapse Button
   ============================================================ */

.scope-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 20px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--bg);
    color: var(--accent);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    margin-bottom: 16px;
    font-family: var(--font);
}

.scope-toggle:hover {
    background: rgba(200,84,10,0.04);
    border-color: rgba(200,84,10,0.3);
    box-shadow: 0 2px 8px rgba(200,84,10,0.08);
}

.scope-toggle svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.scope-toggle.open svg {
    transform: rotate(180deg);
}

.scope-collapse {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, margin 0.3s ease;
    margin-top: 0;
}

.scope-collapse.open {
    max-height: 2000px;
    margin-top: 16px;
}

/* ============================================================
   Pricing Block — Lizenzkosten + Support-Optionen
   ============================================================ */

.pricing-block {
    margin-bottom: 28px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--bg);
    overflow: hidden;
}

.pricing-base {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 20px;
    border-bottom: 1px solid var(--border);
    background: linear-gradient(135deg, rgba(200,84,10,0.06) 0%, rgba(200,84,10,0.02) 100%);
}

.pricing-base-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pricing-base-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.pricing-base-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--accent);
    white-space: nowrap;
}

.pricing-options-header {
    padding: 12px 20px 8px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.pricing-options {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0;
}

.pricing-option {
    padding: 14px 16px;
    border-right: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    transition: background 0.2s ease;
}

.pricing-option:last-child {
    border-right: none;
}

.pricing-option:hover {
    background: rgba(200,84,10,0.03);
}

.pricing-option-name {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 4px;
}

.pricing-option-price {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 6px;
}

.pricing-option-desc {
    font-size: 0.7rem;
    color: var(--text-muted);
    line-height: 1.45;
}

.pricing-footer {
    padding: 10px 20px;
    border-top: 1px solid var(--border);
    font-size: 0.7rem;
    color: var(--text-muted);
    text-align: center;
    font-style: italic;
    background: linear-gradient(135deg, rgba(200,84,10,0.02) 0%, transparent 100%);
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 768px) {
    .scope-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .scope-phases,
    .scope-phases.cols-3 {
        grid-template-columns: 1fr;
    }

    .scope-phase,
    .scope-phases.cols-3 .scope-phase:nth-child(2n) {
        border-right: none;
    }

    .scope-phase:last-child {
        border-bottom: none;
    }

    .pricing-base {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .pricing-options {
        grid-template-columns: 1fr;
    }

    .pricing-option {
        border-right: none;
    }

    .pricing-option:last-child {
        border-bottom: none;
    }
}


/* ========== about.css ========== */
/* ============================================================
   About Section (Design C — lighter warm brown + profile image)
   ============================================================ */

.section-about {
    padding: 80px 0;
    background-color: var(--bg);
}

.about-card {
    background: #4a3828;
    border-radius: var(--radius);
    padding: 48px 40px;
    max-width: 700px;
    margin: 0 auto;
    color: #f0f0f0;
    overflow: hidden;
    position: relative;
}

.about-glow {
    position: absolute;
    top: -60px;
    right: -60px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(236,110,30,0.18) 0%, transparent 70%);
    pointer-events: none;
}

/* Header with profile image */
.about-header {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
    position: relative;
}

.about-photo {
    width: 100px;
    height: 100px;
    border-radius: 14px;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid rgba(255,255,255,0.15);
    box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}

.about-header-text {
    flex: 1;
}

.about-subtitle {
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 6px;
}

.about-card h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0;
    color: #f0f0f0;
}

.about-desc {
    color: rgba(255,255,255,0.65);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 32px;
    position: relative;
}

.about-years {
    color: var(--accent);
    font-weight: 600;
}

.about-skill-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    position: relative;
}

.about-skill-card {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 8px;
    padding: 16px;
}

.about-skill-card h4 {
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.about-skill-card p {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.5;
}

.about-bc-badge {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(236,110,30,0.08);
    border: 1px solid rgba(236,110,30,0.2);
    border-radius: 8px;
    padding: 16px 20px;
}

.about-bc-icon {
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.about-bc-badge h4 {
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: #f0f0f0;
}

.about-bc-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.about-bc-tag {
    font-size: 0.72rem;
    padding: 3px 8px;
    background: rgba(255,255,255,0.08);
    border-radius: 10px;
    color: rgba(255,255,255,0.6);
}

@media (max-width: 768px) {
    .about-card {
        padding: 32px 24px;
    }
    .about-header {
        gap: 16px;
    }
    .about-photo {
        width: 80px;
        height: 80px;
        border-radius: 12px;
    }
    .about-card h2 {
        font-size: 1.4rem;
    }
    .about-skill-grid {
        grid-template-columns: 1fr;
    }
    .about-bc-badge {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}


/* ========== animations.css ========== */
/* ========== animations.css — Scroll-Animationen ========== */

/* Basis: versteckt, bereit zum Einblenden */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Wenn sichtbar (via JS IntersectionObserver) */
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered delay für Kinder-Elemente */
.fade-in:nth-child(1) { transition-delay: 0s; }
.fade-in:nth-child(2) { transition-delay: 0.1s; }
.fade-in:nth-child(3) { transition-delay: 0.2s; }
.fade-in:nth-child(4) { transition-delay: 0.3s; }
.fade-in:nth-child(5) { transition-delay: 0.4s; }

/* Kein Flackern auf Seiten-Load */
@media (prefers-reduced-motion: reduce) {
    .fade-in {
        opacity: 1;
        transform: none;
        transition: none;
    }
}


