/* ============================================================
   ABS Master UG — Tech-Dashboard Style
   ============================================================ */

:root {
    --primary: #1e293b;
    --accent: #3b82f6;
    --accent-hover: #2563eb;
    --dark: #0f172a;
    --light: #f1f5f9;
    --text: #334155;
    --text-muted: #64748b;
    --border: #cbd5e1;
    --border-light: #e2e8f0;
    --white: #ffffff;
    --success: #22c55e;
    --warning: #f59e0b;
    --mono: 'SF Mono', 'Fira Code', 'Fira Mono', 'Roboto Mono', 'Courier New', monospace;
    --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
    --radius: 8px;
    --radius-lg: 12px;
    --shadow: 0 1px 3px rgba(0,0,0,.1), 0 1px 2px rgba(0,0,0,.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1);
    --transition: .25s cubic-bezier(.4,0,.2,1);
    --max-width: 1200px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--sans);
    color: var(--text);
    background: var(--white);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-hover); }
ul, ol { list-style: none; }

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--mono);
    color: var(--primary);
    line-height: 1.25;
    letter-spacing: -.02em;
    font-weight: 700;
}
h1 { font-size: clamp(2rem, 5vw, 3.25rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); margin-bottom: .75rem; }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); margin-bottom: .5rem; }
h4 { font-size: 1.125rem; margin-bottom: .5rem; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* Container */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ============================================================
   TOP BAR + HAMBURGER
   ============================================================ */
.top-bar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: var(--dark);
    border-bottom: 1px solid rgba(255,255,255,.08);
    height: 64px;
}
.top-bar nav {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.logo {
    display: flex;
    align-items: center;
    gap: .5rem;
}
.logo img {
    height: 36px;
    width: auto;
}
.hamburger {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 6px;
    cursor: pointer;
    padding: 8px 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    transition: border-color var(--transition);
    z-index: 1001;
}
.hamburger:hover { border-color: var(--accent); }
.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--light);
    border-radius: 2px;
    transition: var(--transition);
    transform-origin: center;
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-menu {
    position: fixed;
    top: 64px;
    right: -100%;
    width: 320px;
    max-width: 85vw;
    height: calc(100vh - 64px);
    background: var(--dark);
    border-left: 1px solid rgba(255,255,255,.08);
    transition: right .35s cubic-bezier(.4,0,.2,1);
    overflow-y: auto;
    z-index: 999;
}
.nav-menu.open { right: 0; }
.nav-menu ul { padding: 1.5rem; }
.nav-menu li { border-bottom: 1px solid rgba(255,255,255,.06); }
.nav-menu a {
    display: block;
    padding: .875rem 0;
    color: var(--light);
    font-family: var(--mono);
    font-size: .9rem;
    letter-spacing: .02em;
    transition: color var(--transition), padding-left var(--transition);
}
.nav-menu a:hover,
.nav-menu a.active { color: var(--accent); padding-left: .5rem; }
.nav-overlay {
    position: fixed;
    inset: 0;
    top: 64px;
    background: rgba(0,0,0,.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity .35s;
    z-index: 998;
}
.nav-overlay.open { opacity: 1; pointer-events: all; }

body { padding-top: 64px; }

/* ============================================================
   HERO – Animated Gradient
   ============================================================ */
@keyframes gradientShift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}
.hero {
    background: linear-gradient(-45deg, #0f172a, #1e293b, #1e3a5f, #2563eb, #1e293b);
    background-size: 400% 400%;
    background-image: url(\'../img/hero-1.jpg\');
    animation: gradientShift 18s ease infinite;
    color: var(--white);
    padding: 6rem 0 5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 20%, rgba(59,130,246,.15) 0%, transparent 60%);
    pointer-events: none;
}
.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.hero h1 { color: var(--white); margin-bottom: .75rem; }
.hero .subtitle {
    font-family: var(--mono);
    font-size: 1.1rem;
    color: rgba(255,255,255,.7);
    margin-bottom: 2rem;
    letter-spacing: .03em;
}
.hero .cta-group {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Page Header (inner pages) */
.page-header {
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
    color: var(--white);
    padding: 4rem 0 3rem;
    text-align: center;
}
.page-header h1 { color: var(--white); }
.page-header p {
    color: rgba(255,255,255,.7);
    font-family: var(--mono);
    font-size: .95rem;
    max-width: 600px;
    margin: 0 auto;
}
.breadcrumb {
    font-family: var(--mono);
    font-size: .8rem;
    color: rgba(255,255,255,.5);
    margin-bottom: 1rem;
}
.breadcrumb a { color: rgba(255,255,255,.6); }
.breadcrumb a:hover { color: var(--accent); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .75rem 1.75rem;
    border-radius: var(--radius);
    font-family: var(--mono);
    font-size: .9rem;
    font-weight: 600;
    letter-spacing: .02em;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}
.btn-primary {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
}
.btn-primary:hover { background: var(--accent-hover); color: var(--white); border-color: var(--accent-hover); }
.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,.3);
}
.btn-outline:hover { border-color: var(--white); color: var(--white); }
.btn-dark {
    background: var(--dark);
    color: var(--white);
    border-color: var(--dark);
}
.btn-dark:hover { background: var(--primary); color: var(--white); }

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: 5rem 0; }
.section--light { background: var(--light); }
.section--dark { background: var(--dark); color: var(--white); }
.section--dark h2,
.section--dark h3 { color: var(--white); }
.section--dark p { color: rgba(255,255,255,.75); }
.section--gradient {
    background: linear-gradient(180deg, var(--white) 0%, var(--light) 100%);
}
.section--gradient-dark {
    background: linear-gradient(180deg, var(--dark) 0%, var(--primary) 100%);
    color: var(--white);
}
.section--gradient-dark h2,
.section--gradient-dark h3 { color: var(--white); }
.section-label {
    font-family: var(--mono);
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .15em;
    color: var(--accent);
    margin-bottom: .5rem;
    display: block;
}
.section--dark .section-label { color: rgba(59,130,246,.8); }
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
}

/* ============================================================
   CARDS (1px borders)
   ============================================================ */
.card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}
.card-accent {
    border-top: 3px solid var(--accent);
}
.card h3 { margin-bottom: .75rem; }
.card .card-number {
    font-family: var(--mono);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
    margin-bottom: .25rem;
}
.card .card-label {
    font-family: var(--mono);
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--text-muted);
}
.card .card-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59,130,246,.08);
    border-radius: var(--radius);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* ============================================================
   DASHBOARD METRICS GRID (2×3)
   ============================================================ */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
}
.metric-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    text-align: center;
    transition: box-shadow var(--transition), transform var(--transition);
}
.metric-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}
.metric-value {
    font-family: var(--mono);
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--accent);
    line-height: 1.1;
    margin-bottom: .25rem;
}
.metric-label {
    font-family: var(--mono);
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--text-muted);
}
.metric-card .metric-trend {
    font-family: var(--mono);
    font-size: .75rem;
    color: var(--success);
    margin-top: .5rem;
}

/* ============================================================
   MASONRY SERVICE CARDS (3 cols, varied heights)
   ============================================================ */
.masonry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    grid-auto-flow: dense;
}
.masonry-grid .card--tall { grid-row: span 2; }
.masonry-grid .card a {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-family: var(--mono);
    font-size: .85rem;
    margin-top: 1rem;
    color: var(--accent);
    font-weight: 600;
}
.masonry-grid .card a:hover { gap: .6rem; }
.masonry-grid .card ul {
    margin: .75rem 0;
    padding-left: 0;
}
.masonry-grid .card li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: .4rem;
    font-size: .92rem;
    color: var(--text-muted);
}
.masonry-grid .card li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}

/* ============================================================
   PROGRESS BARS
   ============================================================ */
.progress-list { max-width: 700px; margin: 0 auto; }
.progress-item { margin-bottom: 1.75rem; }
.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: .5rem;
}
.progress-header span:first-child {
    font-weight: 600;
    font-size: .95rem;
}
.progress-header span:last-child {
    font-family: var(--mono);
    font-weight: 700;
    color: var(--accent);
    font-size: .95rem;
}
.progress-track {
    background: var(--border-light);
    border-radius: 6px;
    height: 10px;
    overflow: hidden;
}
.progress-fill {
    height: 100%;
    border-radius: 6px;
    background: linear-gradient(90deg, var(--accent), #60a5fa);
    width: 0;
    transition: width 1.5s cubic-bezier(.4,0,.2,1);
}

/* ============================================================
   BLOG TEASER — Newspaper Style
   ============================================================ */
.blog-teaser-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.blog-teaser-grid .blog-card {
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 0;
    overflow: hidden;
    transition: box-shadow var(--transition), transform var(--transition);
}
.blog-teaser-grid .blog-card:first-child {
    grid-column: span 2;
    grid-row: span 2;
}
.blog-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}
.blog-card-body { padding: 1.5rem; }
.blog-card-meta {
    font-family: var(--mono);
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--text-muted);
    margin-bottom: .5rem;
}
.blog-card-body h3 { font-size: 1.15rem; }
.blog-card-body p {
    color: var(--text-muted);
    font-size: .92rem;
}
.blog-card .read-more {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-family: var(--mono);
    font-size: .82rem;
    font-weight: 600;
    color: var(--accent);
    margin-top: .75rem;
}
.blog-card .read-more:hover { gap: .6rem; }
.blog-card-header {
    background: linear-gradient(135deg, var(--dark), var(--primary));
    padding: 2.5rem 1.5rem;
    color: var(--white);
}
.blog-card-header .blog-card-meta { color: rgba(255,255,255,.5); }
.blog-card-header h3 { color: var(--white); font-size: 1.35rem; }

/* ============================================================
   SERVICES GRID (Leistungen overview)
   ============================================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}
.service-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}
.service-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
    border-color: var(--accent);
}
.service-card .card-icon { margin-bottom: 1.25rem; }
.service-card p { color: var(--text-muted); flex: 1; }
.service-card .btn { margin-top: 1.5rem; align-self: flex-start; }

/* ============================================================
   SERVICE DETAIL
   ============================================================ */
.service-detail { max-width: 900px; margin: 0 auto; }
.service-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
    margin: 2rem 0;
}
.feature-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 1.5rem;
}
.feature-card h4 { color: var(--primary); }
.feature-card p { color: var(--text-muted); font-size: .92rem; }
.service-process {
    counter-reset: step;
    max-width: 700px;
    margin: 2rem auto;
}
.process-step {
    position: relative;
    padding-left: 4rem;
    padding-bottom: 2.5rem;
    border-left: 2px solid var(--border-light);
    margin-left: 1.25rem;
}
.process-step:last-child { border-left-color: transparent; padding-bottom: 0; }
.process-step::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: -1.25rem;
    top: 0;
    width: 2.5rem;
    height: 2.5rem;
    background: var(--accent);
    color: var(--white);
    font-family: var(--mono);
    font-weight: 700;
    font-size: .9rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}
.process-step h4 { margin-bottom: .25rem; }
.process-step p { color: var(--text-muted); font-size: .92rem; }

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item {
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    margin-bottom: .75rem;
    overflow: hidden;
}
.faq-question {
    width: 100%;
    background: var(--white);
    border: none;
    padding: 1.25rem 1.5rem;
    text-align: left;
    cursor: pointer;
    font-family: var(--mono);
    font-size: .95rem;
    font-weight: 600;
    color: var(--primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    transition: background var(--transition);
}
.faq-question:hover { background: var(--light); }
.faq-question::after {
    content: '+';
    font-size: 1.25rem;
    color: var(--accent);
    flex-shrink: 0;
    transition: transform var(--transition);
}
.faq-item.open .faq-question { background: var(--light); }
.faq-item.open .faq-question::after { content: '−'; }
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s cubic-bezier(.4,0,.2,1), padding .35s;
    padding: 0 1.5rem;
    color: var(--text-muted);
    font-size: .94rem;
    line-height: 1.7;
}
.faq-item.open .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.25rem;
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}
.contact-info-card {
    background: var(--dark);
    color: var(--white);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
}
.contact-info-card h3 { color: var(--white); margin-bottom: 1.5rem; }
.contact-info-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}
.contact-info-item .icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(59,130,246,.15);
    border-radius: var(--radius);
    flex-shrink: 0;
    font-size: 1.1rem;
}
.contact-info-item p { color: rgba(255,255,255,.75); font-size: .92rem; }
.contact-info-item strong { color: var(--white); display: block; margin-bottom: .15rem; font-family: var(--mono); font-size: .85rem; }

form label {
    display: block;
    font-family: var(--mono);
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .04em;
    color: var(--primary);
    margin-bottom: .4rem;
    margin-top: 1rem;
}
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: .75rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--sans);
    font-size: .95rem;
    color: var(--text);
    background: var(--white);
    transition: border-color var(--transition), box-shadow var(--transition);
}
form input:focus,
form select:focus,
form textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(59,130,246,.12);
}
form textarea { resize: vertical; min-height: 120px; }
form select { cursor: pointer; }
.form-consent {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    margin-top: 1.25rem;
}
.form-consent input[type="checkbox"] {
    margin-top: .3rem;
    accent-color: var(--accent);
    flex-shrink: 0;
}
.form-consent label {
    font-family: var(--sans);
    font-size: .85rem;
    font-weight: 400;
    color: var(--text-muted);
    margin: 0;
}
form button[type="submit"] {
    margin-top: 1.5rem;
    padding: .85rem 2.5rem;
    background: var(--accent);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    font-family: var(--mono);
    font-size: .9rem;
    font-weight: 600;
    letter-spacing: .02em;
    cursor: pointer;
    transition: background var(--transition);
    width: 100%;
}
form button[type="submit"]:hover { background: var(--accent-hover); }

.success-message {
    background: rgba(34,197,94,.08);
    border: 1px solid rgba(34,197,94,.3);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    margin-bottom: 2rem;
}
.success-message h3 { color: var(--success); }

/* ============================================================
   REFERENZEN
   ============================================================ */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}
.testimonial-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2rem;
}
.testimonial-card blockquote {
    font-style: italic;
    color: var(--text);
    line-height: 1.7;
    margin-bottom: 1.25rem;
    position: relative;
    padding-left: 1.25rem;
    border-left: 3px solid var(--accent);
}
.testimonial-card .author {
    font-family: var(--mono);
    font-size: .82rem;
    color: var(--text-muted);
}
.testimonial-card .author strong { color: var(--primary); display: block; }

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}
.project-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.project-card-header {
    background: linear-gradient(135deg, var(--dark), var(--primary));
    padding: 2rem;
    color: var(--white);
}
.project-card-header h3 { color: var(--white); }
.project-card-header .tag {
    display: inline-block;
    background: rgba(59,130,246,.2);
    color: var(--accent);
    font-family: var(--mono);
    font-size: .72rem;
    padding: .25rem .6rem;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: .5rem;
}
.project-card-body { padding: 1.5rem; }
.project-card-body p { color: var(--text-muted); font-size: .92rem; }
.project-stats {
    display: flex;
    gap: 1.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
}
.project-stat .stat-value {
    font-family: var(--mono);
    font-weight: 700;
    color: var(--accent);
    font-size: 1.15rem;
}
.project-stat .stat-label {
    font-size: .75rem;
    color: var(--text-muted);
}

/* ============================================================
   KARRIERE
   ============================================================ */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.25rem;
}
.benefit-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
}
.benefit-card .benefit-icon {
    font-size: 2rem;
    margin-bottom: .75rem;
}
.benefit-card h4 { font-size: 1rem; }
.benefit-card p { color: var(--text-muted); font-size: .88rem; }

.job-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
    transition: box-shadow var(--transition);
}
.job-card:hover { box-shadow: var(--shadow-lg); }
.job-card h3 { margin-bottom: .25rem; }
.job-card .job-meta {
    font-family: var(--mono);
    font-size: .8rem;
    color: var(--text-muted);
}

/* ============================================================
   ARTICLE / BLOG
   ============================================================ */
.article { max-width: 800px; margin: 0 auto; }
.article h2 { margin-top: 2.5rem; }
.article p { font-size: 1.05rem; line-height: 1.8; }
.article ul {
    padding-left: 0;
    margin: 1.25rem 0;
}
.article li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: .5rem;
}
.article li::before {
    content: '–';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}
.article-meta {
    font-family: var(--mono);
    font-size: .8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-light);
}

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.legal { max-width: 800px; margin: 0 auto; }
.legal h2 { margin-top: 2.5rem; font-size: 1.35rem; }
.legal h3 { margin-top: 1.5rem; font-size: 1.1rem; }
.legal p { font-size: .95rem; color: var(--text-muted); }
.legal ul {
    padding-left: 0;
    margin: .75rem 0;
}
.legal li {
    position: relative;
    padding-left: 1.25rem;
    margin-bottom: .35rem;
    font-size: .95rem;
    color: var(--text-muted);
}
.legal li::before {
    content: '–';
    position: absolute;
    left: 0;
    color: var(--accent);
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
    background: linear-gradient(135deg, var(--dark), var(--primary));
    border-radius: var(--radius-lg);
    padding: 3rem;
    text-align: center;
    color: var(--white);
    margin: 3rem 0;
}
.cta-banner h2 { color: var(--white); }
.cta-banner p { color: rgba(255,255,255,.7); max-width: 500px; margin: 0 auto 1.5rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--dark);
    color: rgba(255,255,255,.7);
    padding: 4rem 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2.5rem;
    padding-bottom: 3rem;
}
.footer h4 {
    color: var(--white);
    font-family: var(--mono);
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    margin-bottom: 1.25rem;
}
.footer p { font-size: .9rem; }
.footer a { color: rgba(255,255,255,.6); font-size: .9rem; }
.footer a:hover { color: var(--accent); }
.footer ul li { margin-bottom: .6rem; }
.footer-brand img {
    height: 32px;
    margin-bottom: 1rem;
    filter: brightness(10);
}
.footer-brand p { color: rgba(255,255,255,.5); font-size: .85rem; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: .82rem;
    color: rgba(255,255,255,.4);
}
.footer-bottom a { color: rgba(255,255,255,.4); }
.footer-bottom a:hover { color: var(--accent); }

/* ============================================================
   COOKIE BANNER
   ============================================================ */
.cookie-banner {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: var(--dark);
    color: var(--white);
    padding: 1.25rem 1.5rem;
    display: none;
    z-index: 2000;
    border-top: 1px solid rgba(255,255,255,.1);
}
.cookie-banner.show { display: block; }
.cookie-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.cookie-inner p {
    font-size: .88rem;
    color: rgba(255,255,255,.75);
    flex: 1;
    min-width: 250px;
}
.cookie-inner a { color: var(--accent); }
.cookie-actions { display: flex; gap: .75rem; flex-shrink: 0; }
.cookie-btn {
    padding: .6rem 1.25rem;
    border-radius: var(--radius);
    font-family: var(--mono);
    font-size: .82rem;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all var(--transition);
}
.cookie-btn-accept {
    background: var(--accent);
    color: var(--white);
}
.cookie-btn-accept:hover { background: var(--accent-hover); }
.cookie-btn-decline {
    background: transparent;
    color: rgba(255,255,255,.6);
    border-color: rgba(255,255,255,.2);
}
.cookie-btn-decline:hover { border-color: rgba(255,255,255,.4); color: var(--white); }

/* ============================================================
   UTILITIES
   ============================================================ */
.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.text-muted { color: var(--text-muted); }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 2rem; }
.mb-3 { margin-bottom: 2rem; }
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .metrics-grid { grid-template-columns: repeat(2, 1fr); }
    .masonry-grid { grid-template-columns: repeat(2, 1fr); }
    .masonry-grid .card--tall { grid-row: span 1; }
    .blog-teaser-grid { grid-template-columns: 1fr 1fr; }
    .blog-teaser-grid .blog-card:first-child { grid-column: span 2; grid-row: span 1; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .grid-2 { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .section { padding: 3.5rem 0; }
    .hero { padding: 4rem 0 3.5rem; }
    .metrics-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .masonry-grid { grid-template-columns: 1fr; }
    .blog-teaser-grid {
        grid-template-columns: 1fr;
    }
    .blog-teaser-grid .blog-card:first-child { grid-column: span 1; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; gap: .5rem; text-align: center; }
    .job-card {
        flex-direction: column;
        align-items: flex-start;
    }
    .services-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .metrics-grid { grid-template-columns: 1fr; }
    .metric-value { font-size: 2rem; }
    .hero h1 { font-size: 1.75rem; }
    .hero .subtitle { font-size: .95rem; }
    .nav-menu { width: 100%; max-width: 100%; }
    .cookie-inner { flex-direction: column; text-align: center; }
    .cookie-actions { width: 100%; justify-content: center; }
}


/* === AI-generated hero background (added by image pipeline) === */
.hero {
    background-image: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.45)), url('../img/hero-1.jpg');
    background-size: cover;
    background-position: center;
}
.page-hero,
.karriere .hero,
.referenzen .hero {
    background-image: linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.45)), url('../img/hero-2.jpg');
    background-size: cover;
    background-position: center;
}

/* === Section background images === */

/* === Logo sizing fix === */
.logo-link img, .header-logo img, .nav-logo img, .logo img,
img[src*="logo"] {
    height: 40px !important;
    width: auto !important;
    min-width: 100px;
    max-width: 300px;
    display: block;
}
