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

:root {
    --cyan:      #00afd0;
    --cyan-dark: #0096b4;
    --text:      #555555;
    --text-dark: #333333;
    --text-light:#888888;
    --bg:        #ffffff;
    --bg-gray:   #f3f3f3;
    --border:    #9b9ea0;
    --border-light: #e0e0e0;
    --radius:    3px;
    --max-width: 1100px;
}

html { scroll-behavior: smooth; }

body {
    font-family: system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
    font-size: 18px;
    color: var(--text);
    line-height: 1.5;
    background: var(--bg);
}

a { color: var(--cyan); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--cyan-dark); }

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

/* ── Navigation ── */
nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
    padding: 0 30px;
}

.nav-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.nav-logo img {
    height: 45px;
    width: auto;
}

/* Fallback text-logo wenn kein Bild */
.nav-logo-text {
    font-size: 1.6rem;
    font-weight: 700;
    color: #333;
    letter-spacing: -0.02em;
    font-family: system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
}

.nav-logo-text span { color: var(--cyan); }

.nav-links {
    display: flex;
    list-style: none;
    gap: 0;
}

.nav-links a {
    display: block;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    transition: color 0.2s;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 16px;
    right: 16px;
    height: 2px;
    background: var(--cyan);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--cyan); }

.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); }

.nav-hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    color: var(--text-dark);
}

/* Mobile nav */
.nav-mobile {
    display: none;
    flex-direction: column;
    background: #fff;
    border-top: 1px solid var(--border-light);
    padding: 8px 0 16px;
}

.nav-mobile.open { display: flex; }

.nav-mobile a {
    padding: 10px 30px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-dark);
    transition: color 0.15s;
}

.nav-mobile a:hover,
.nav-mobile a.active { color: var(--cyan); }

/* ── Hero / Slider ── */
.hero {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    overflow: hidden;
    min-height: 160px;
    z-index: -1;
}

.hero + section,
.hero + .interlude-section {
    margin-top: 160px;
}

.hero-slide {
    display: none;
    position: relative;
    min-height: 160px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    animation: fadeIn 0.6s ease;
}

.hero-slide.active { display: flex; align-items: center; justify-content: center; }

@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.52);
}

.hero-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 80px 30px;
    max-width: 860px;
    margin: 0 auto;
    width: 100%;
}

.hero h1 {
    font-family: system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
    font-size: clamp(1.4rem, 3.5vw, 2.2rem);
    font-weight: 300;
    color: rgba(255,255,255,0.92);
    line-height: 1.35;
    letter-spacing: 0.01em;
}

.hero h1 strong {
    font-weight: 700;
    color: #fff;
}

.hero-dots {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 10;
}

.hero-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    border: none;
    cursor: pointer;
    transition: background 0.2s;
    padding: 0;
}

.hero-dot.active { background: var(--cyan); }

/* ── Page Hero (Unterseiten) ── */
.page-hero {
    background: #2a2a2a;
    color: #fff;
    padding: 40px 30px;
    text-align: center;
    border-bottom: 3px solid var(--cyan);
}

.page-hero h1 {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    font-weight: 300;
    letter-spacing: 0.01em;
}

.page-hero h1 strong { font-weight: 700; }

.page-hero p {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    margin-top: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.page-hero .breadcrumb {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    margin-top: 8px;
}

.page-hero .breadcrumb a { color: rgba(255,255,255,0.6); }
.page-hero .breadcrumb a:hover { color: var(--cyan); }

/* ── Layout ── */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0;
}

.section {
    padding: 60px 30px;
}

.section-gray {
    background: var(--bg-gray);
    padding: 60px 30px;
    position: relative;
}

.section-gray::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--border-light), transparent);
}

/* ── Typography ── */
h1, h2, h3, h4 {
    font-family: system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.3;
}

.section h2.page-title {
    font-size: 22px;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 24px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-light);
}

.section p, .section-gray p {
    color: var(--text);
    margin-bottom: 14px;
    font-size: 16px;
}

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

/* ── Intro (Startseite) ── */
.intro-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 50px;
    align-items: start;
}

.intro-text p:not(.section-label) { margin-bottom: 14px; font-size: 16px; }

.stat-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.stat-box {
    background: var(--bg-gray);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--cyan);
    line-height: 1;
    display: block;
}

.stat-label {
    font-size: 13px;
    color: var(--text-light);
    margin-top: 6px;
    display: block;
}

/* ── Service Cards (Startseite) ── */
.services-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.service-card {
    background: #fff;
    border: 1px solid var(--border-light);
    border-top: 3px solid var(--cyan);
    border-radius: var(--radius);
    padding: 28px 24px;
    transition: box-shadow 0.2s;
}

.service-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

.service-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.service-card p {
    font-size: 14px;
    color: var(--text);
    margin-bottom: 14px;
}

.service-card .read-more {
    font-size: 13px;
    font-weight: 600;
    color: var(--cyan);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.service-card .read-more:hover { color: var(--cyan-dark); }

/* ── Content Page ── */
.content-page {
    max-width: var(--max-width);
    margin: 0 auto;
}

.content-main {
    max-width: 760px;
}

.content-main h2 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 16px;
    margin-top: 30px;
}

.content-main h2:first-child { margin-top: 0; }

.content-main p { margin-bottom: 14px; font-size: 16px; }

.content-main ul {
    margin: 10px 0 14px 20px;
}

.content-main li {
    margin-bottom: 6px;
    font-size: 16px;
    color: var(--text);
}

/* ── Service Lists ── */
.leistungen-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 24px 0;
}

.leistungen-box h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 2px solid var(--cyan);
    display: inline-block;
}

.leistungen-box ul {
    list-style: none;
    padding: 0;
}

.leistungen-box li {
    padding: 4px 0 4px 16px;
    position: relative;
    font-size: 14px;
    color: var(--text);
}

.leistungen-box li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--cyan);
    font-weight: 700;
    font-size: 16px;
    line-height: 1.4;
}

/* ── CTA / Contact Box ── */
.cta-box {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 32px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    max-width: 860px;
    margin: 0 auto;
}

.cta-box-left h3 {
    font-size: 18px;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.cta-box-left p {
    font-size: 14px;
    color: var(--text);
    margin: 0;
}

.cta-box-left p i {
    color: var(--cyan);
    margin-right: 6px;
}

.cta-box-right {
    flex-shrink: 0;
}

/* ── Buttons ── */
.btn {
    display: inline-block;
    padding: 10px 22px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    font-family: system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: background 0.2s, color 0.2s;
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.btn-cyan {
    background: var(--cyan);
    color: #fff;
}

.btn-cyan:hover { background: var(--cyan-dark); color: #fff; }

.btn-outline {
    background: transparent;
    color: var(--cyan);
    border: 2px solid var(--cyan);
}

.btn-outline:hover { background: var(--cyan); color: #fff; }

.btn-grey { background: #e8e8e8; color: #555; }
.btn-grey:hover { background: #d0d0d0; color: #333; }

/* ── Referenzen ── */
.ref-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-light);
}

.ref-filter {
    padding: 5px 14px;
    border: 1px solid var(--border-light);
    border-radius: 2px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    cursor: pointer;
    background: #fff;
    color: var(--text);
    transition: all 0.15s;
    font-family: system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
}

.ref-filter:hover { border-color: var(--cyan); color: var(--cyan); }
.ref-filter.active { background: var(--cyan); border-color: var(--cyan); color: #fff; }

.ref-count {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 16px;
    padding: 6px 0;
    border-bottom: 2px solid var(--border-light);
}

.ref-count span {
    color: var(--cyan);
    font-size: 1.3rem;
    font-weight: 700;
}

.ref-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.ref-card-full {
    display: flex;
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    overflow: hidden;
}

.ref-card-number {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    background: var(--cyan);
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
    flex-shrink: 0;
}

.ref-card-content {
    padding: 24px 28px;
    flex: 1;
}

.ref-card-content h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.4;
}

.ref-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.ref-tag {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 3px 10px;
    border-radius: 3px;
    border: 1px solid var(--cyan);
    color: var(--cyan);
    background: transparent;
}

.ref-tag-period {
    color: var(--cyan);
    border-color: var(--cyan);
}

.ref-card-content p {
    font-size: 15px;
    color: var(--text);
    margin-bottom: 8px;
    line-height: 1.5;
}

.ref-card-content ul {
    padding-left: 20px;
    margin-bottom: 12px;
}

.ref-card-content ul li {
    font-size: 15px;
    color: var(--text);
    margin-bottom: 4px;
    line-height: 1.5;
}

.ref-result {
    color: var(--text-dark) !important;
    font-style: normal;
}

/* ── Projekt Detailseite ── */
.projekt-header {
    background: #f3f3f3;
    color: var(--text-dark);
    padding: 36px 30px;
    border-bottom: 3px solid var(--cyan);
}

.projekt-header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 16px;
    transition: color 0.15s;
}

.back-link:hover { color: var(--cyan); }

.projekt-header h1 {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    font-weight: 400;
    color: var(--text-dark);
    line-height: 1.35;
    margin-bottom: 16px;
}

.projekt-meta-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.meta-badge {
    font-size: 13px;
    color: var(--text);
    background: var(--border-light);
    padding: 3px 10px;
    border-radius: 2px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.meta-badge.cyan { color: #fff; background: var(--cyan); }

.projekt-body {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 40px 30px;
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 40px;
    align-items: start;
}

.projekt-section h2 {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--cyan);
    margin-bottom: 12px;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--border-light);
}

.projekt-section h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.projekt-section p { font-size: 16px; color: var(--text); margin-bottom: 10px; }

.aufgaben-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.aufgaben-list li {
    font-size: 14px;
    color: var(--text);
    padding-left: 16px;
    position: relative;
    line-height: 1.5;
}

.aufgaben-list li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--cyan);
    font-weight: 700;
    font-size: 16px;
    line-height: 1.2;
}

.projekt-sidebar {
    position: sticky;
    top: 80px;
}

.info-card {
    background: var(--bg-gray);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 16px 18px;
    margin-bottom: 12px;
}

.info-card h3 {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-light);
    margin-bottom: 6px;
}

.info-card p {
    font-size: 14px;
    color: var(--text-dark);
}

.tools-list {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.tool-tag {
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 2px;
    background: #fff;
    border: 1px solid var(--border-light);
    color: var(--text);
}

.nav-projekt {
    display: flex;
    gap: 16px;
    padding: 20px 30px;
    border-top: 1px solid var(--border-light);
    max-width: var(--max-width);
    margin: 0 auto;
    justify-content: space-between;
    background: var(--bg-gray);
}

.nav-projekt a {
    font-size: 13px;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-projekt a:hover { color: var(--cyan); }

/* ── Profil ── */
.profil-layout {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 40px;
    align-items: start;
}

.profil-sidebar {
    background: var(--bg-gray);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 24px;
    position: sticky;
    top: 80px;
}

.profil-avatar {
    width: 64px;
    height: 64px;
    background: var(--cyan);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 14px;
}

.profil-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
}

.profil-title {
    font-size: 13px;
    color: var(--text-light);
    margin-top: 4px;
}

.profil-contact {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}

.profil-contact a {
    font-size: 16px;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 8px;
}

.profil-contact a:hover { color: var(--cyan); }

.profil-tags {
    margin-top: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.profil-tag {
    font-size: 12px;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 2px;
    background: rgba(0,175,208,0.1);
    color: var(--cyan);
    border: 1px solid rgba(0,175,208,0.2);
}

.profil-main h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-top: 28px;
    margin-bottom: 10px;
    padding-top: 24px;
    border-top: 1px solid var(--border-light);
}

.profil-main h3:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}

.profil-main p { font-size: 16px; color: var(--text); margin-bottom: 10px; }

.profil-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.profil-list li {
    font-size: 14px;
    color: var(--text);
    padding-left: 16px;
    position: relative;
}

.profil-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--cyan);
    font-weight: 700;
    font-size: 13px;
    line-height: 1.6;
}

/* ── Footer ── */
footer {
    background: var(--bg-gray);
    border-top: 1px solid var(--border-light);
    padding: 24px 30px;
    margin-top: 0;
    position: relative;
    z-index: 1;
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-logo img {
    height: 32px;
    width: auto;
    opacity: 0.75;
}

.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    font-size: 13px;
    color: var(--text-light);
}

.footer-links a:hover { color: var(--cyan); }

.footer-copy {
    font-size: 13px;
    color: var(--text-light);
}

/* ── Nav Logo (Text) ── */
.nav-logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    letter-spacing: -0.02em;
    font-family: system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
    text-decoration: none;
    transition: none;
}

.nav-logo span { color: var(--cyan); }
.nav-logo:hover { color: #333; }

/* ── Section base (plain <section> without class) ── */
section {
    padding: 50px 30px;
    background: #fff;
    position: relative;
    z-index: 1;
}

section.bg-light {
    background: var(--bg-gray);
    padding: 50px 30px;
}

/* ── Section labels / titles ── */
.section-label {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--cyan);
    margin-bottom: 8px;
}

.section-title {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.3;
}

/* ── Intro Stats (Startseite) ── */
.intro-left {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.intro-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.stat-card {
    background: var(--bg-gray);
    border: 1px solid var(--border-light);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
}

.stat-card .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--cyan);
    line-height: 1;
    display: block;
}

.stat-card .stat-label {
    font-size: 13px;
    color: var(--text-light);
    margin-top: 6px;
    display: block;
}

/* ── Cards Grid (Startseite Leistungen) ── */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.card {
    background: #fff;
    border: 1px solid var(--border-light);
    border-top: 3px solid var(--cyan);
    border-radius: var(--radius);
    padding: 28px 24px;
    text-decoration: none;
    color: inherit;
    display: block;
    transition: box-shadow 0.2s;
}

.card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    color: inherit;
}

.card-icon {
    width: 40px;
    height: 40px;
    background: rgba(0,175,208,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    color: var(--cyan);
}

.card h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.card p {
    font-size: 14px;
    color: var(--text);
    margin-bottom: 14px;
}

.card-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--cyan);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ── CTA Kontakt-Box (vor Footer) ── */
.cta-section {
    padding: 16px 30px;
    background: var(--bg-gray);
    position: relative;
    z-index: 1;
}

.cta-box {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px 24px;
    background: #fff;
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 24px;
}

.cta-box h2 {
    font-size: 16px;
    font-weight: 700;
    color: var(--cyan);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0;
    white-space: nowrap;
}

.cta-box > p {
    font-size: 14px;
    color: var(--text);
    margin: 0;
    flex: 1;
    min-width: 180px;
}

.cta-contacts {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 20px;
}

.cta-contacts a {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    white-space: nowrap;
}

.cta-contacts a:hover { color: var(--cyan); }

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-left: auto;
}

/* ── Buttons alias ── */
.btn-primary {
    background: var(--cyan);
    color: #fff;
}

.btn-primary:hover { background: var(--cyan-dark); color: #fff; }

/* ── Content Wrap (Unterseiten) ── */
.content-wrap {
    max-width: 800px;
    margin: 0 auto;
}

.content-wrap h2.section-title {
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.content-wrap p:not(.section-label) {
    font-size: 16px;
    color: var(--text);
    margin-bottom: 14px;
}

/* ── Services Grid (2-column lists) ── */
.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin: 28px 0;
}

.service-box {
    background: var(--bg-gray);
    border-radius: var(--radius);
    padding: 20px 24px;
}

.service-box h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--cyan);
}

.service-box ul {
    list-style: none;
    padding: 0;
}

.service-box li {
    padding: 4px 0 4px 16px;
    position: relative;
    font-size: 14px;
    color: var(--text);
}

.service-box li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--cyan);
    font-weight: 700;
    font-size: 16px;
    line-height: 1.3;
}

/* ── Blockquote ── */
blockquote {
    border-left: 3px solid var(--cyan);
    padding: 14px 20px;
    margin: 24px 0;
    background: var(--bg-gray);
    border-radius: 0 var(--radius) var(--radius) 0;
    font-size: 16px;
    color: var(--text);
    font-style: italic;
    line-height: 1.6;
}

blockquote cite {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    font-style: normal;
    color: var(--text-light);
    font-weight: 600;
}

/* ── Profil Grid alias ── */
.profil-grid {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 40px;
    align-items: start;
}

/* ── Legal ── */
.legal-content {
    max-width: 760px;
    margin: 0 auto;
}

.legal-content h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 24px;
}

.legal-content h2 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-top: 32px;
    margin-bottom: 12px;
}

.legal-content h2:first-child,
.legal-content h1 + h2 { margin-top: 0; }

.legal-content h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-top: 24px;
    margin-bottom: 10px;
}

.legal-content p {
    font-size: 15px;
    color: var(--text);
    margin-bottom: 12px;
    line-height: 1.6;
}

.legal-content li {
    font-size: 15px;
    color: var(--text);
    margin-bottom: 8px;
    line-height: 1.6;
}

.legal-content ul {
    padding-left: 20px;
    margin-bottom: 16px;
}

.legal-content a {
    color: var(--cyan);
    text-decoration: underline;
}

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

/* ── Zwischentext (Startseite) ── */
.interlude-section {
    background: #fff;
    padding: 0 24px 20px;
    position: relative;
    z-index: 1;
}

.interlude-wrap {
    max-width: var(--max-width);
    margin: 0 auto;
    border-left: 3px solid var(--cyan);
    padding-left: 24px;
}

.interlude-wrap p {
    font-size: 18px;
    color: var(--text);
    font-style: italic;
    margin: 0;
    line-height: 1.6;
}

/* ── Schwerpunkte Expertise (Startseite) ── */
.expertise-wrap {}

.expertise-heading {
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.3;
}

.expertise-list {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-left: 21px;
    border-left: 2px solid var(--border-light);
    padding-left: 21px;
}

.expertise-item {
    display: flex;
    align-items: flex-start;
    gap: 0;
    padding: 0 0 36px 0;
    position: relative;
}

.expertise-icon {
    width: 44px;
    height: 44px;
    background: var(--cyan);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
    position: absolute;
    left: -44px;
}

.expertise-line {
    width: 28px;
    height: 2px;
    background: var(--cyan);
    flex-shrink: 0;
    margin-top: 21px;
}

.expertise-body {
    padding-left: 16px;
}

.expertise-body h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
    line-height: 1.3;
}

.expertise-body p {
    font-size: 16px;
    color: var(--text);
    margin: 0;
}

.expertise-details {
    margin-top: 10px;
}

.expertise-details summary {
    font-size: 16px;
    font-weight: 400;
    color: var(--text);
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
    user-select: none;
}

.expertise-details summary::-webkit-details-marker {
    display: none;
}

.expertise-details summary::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-right: 2px solid var(--cyan);
    border-bottom: 2px solid var(--cyan);
    transform: rotate(-45deg);
    transition: transform 0.2s ease;
    flex-shrink: 0;
    margin-top: -2px;
}

.expertise-details[open] summary::before {
    transform: rotate(45deg);
}

.expertise-detail-content {
    margin-top: 10px;
    padding: 16px 20px;
    background: #f7fafa;
    border-left: 3px solid var(--cyan);
    border-radius: 0 6px 6px 0;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text);
}

.expertise-detail-content ul {
    margin: 8px 0 0 0;
    padding-left: 18px;
}

.expertise-detail-content ul li {
    margin-bottom: 4px;
}

/* ── Profil Page Layout ── */
.profil-page-layout {
    max-width: var(--max-width);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 48px;
    align-items: start;
}

.profil-sidebar-new {
    position: sticky;
    top: 80px;
}

.profil-photo {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    object-position: center top;
    border-radius: 6px;
    border: 1px solid var(--border-light);
    display: block;
    margin-bottom: 14px;
}

.profil-name-big {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.profil-title-big {
    font-size: 16px;
    color: var(--text-light);
    line-height: 1.5;
}

/* ── Profil Timeline (vertikal, kompakt) ── */
.profil-timeline {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.profil-section {
    margin-bottom: 40px;
}

.profil-content h2 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--cyan);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 0;
    margin-bottom: 12px;
    padding-bottom: 6px;
    border-bottom: 2px solid var(--border-light);
}

.profil-content h2:first-child { margin-top: 0; }

.profil-content h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-top: 20px;
    margin-bottom: 8px;
}

.profil-content p {
    font-size: 15px;
    color: var(--text);
    line-height: 1.6;
    margin-bottom: 10px;
}

.profil-content ul {
    padding-left: 20px;
    margin-bottom: 12px;
}

.profil-content ul li {
    font-size: 15px;
    color: var(--text);
    margin-bottom: 6px;
    line-height: 1.5;
}

.profil-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 8px;
}

.profil-table tr {
    border-bottom: 1px solid var(--border-light);
}

.profil-table td {
    padding: 10px 12px 10px 0;
    font-size: 15px;
    color: var(--text);
    line-height: 1.5;
    vertical-align: top;
}

.profil-td-time {
    white-space: nowrap;
    font-weight: 600;
    color: var(--text-dark);
    width: 160px;
}

.profil-skills {
    list-style: none;
    padding-left: 0;
}

.profil-skills li::before {
    content: '—';
    color: var(--cyan);
    font-weight: 700;
    margin-right: 8px;
}

.profil-skills-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.profil-skills-inline li {
    background: var(--bg-gray);
    border: 1px solid var(--border-light);
    border-radius: 3px;
    padding: 3px 10px;
    font-size: 13px;
}

.profil-skills-inline li::before {
    display: none;
}

.profil-quote {
    border-left: 3px solid var(--cyan);
    padding: 16px 20px;
    background: #f7fafa;
    border-radius: 0 6px 6px 0;
    margin: 0;
}

.profil-quote p {
    font-style: italic;
    margin-bottom: 8px;
}

.profil-quote footer {
    font-size: 14px;
    color: var(--text-light);
    font-style: normal;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
}

/* ── Responsive ── */
@media (max-width: 960px) {
    .profil-page-layout { grid-template-columns: 1fr; }
    .profil-sidebar-new { position: static; display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-start; }
    .profil-photo { width: 120px; aspect-ratio: 3/4; margin-bottom: 0; }
    .profil-td-time { width: auto; }
    .profil-table td { display: block; padding: 4px 0; }
    .profil-table tr { padding: 8px 0; display: block; }
    .intro-grid { grid-template-columns: 1fr; gap: 30px; }
    .services-row { grid-template-columns: 1fr 1fr; }
    .cards-grid { grid-template-columns: 1fr 1fr; }
    .profil-layout { grid-template-columns: 1fr; }
    .profil-grid { grid-template-columns: 1fr; }
    .profil-sidebar { position: static; }
    .leistungen-grid { grid-template-columns: 1fr; }
    .services-grid { grid-template-columns: 1fr; }
    .projekt-body { grid-template-columns: 1fr; }
    .projekt-sidebar { position: static; }
    .intro-stats { grid-template-columns: 1fr 1fr; }
    .intro-left { gap: 24px; }
}

@media (max-width: 640px) {
    .nav-links { display: none; }
    .nav-hamburger { display: block; }
    .services-row { grid-template-columns: 1fr; }
    .cards-grid { grid-template-columns: 1fr; }
    .section { padding: 40px 20px; }
    .section-gray { padding: 40px 20px; }
    section { padding: 36px 20px; }
    section.bg-light { padding: 36px 20px; }
    .cta-box { padding: 28px 20px; }
    .footer-inner { flex-direction: column; text-align: center; }
    .stat-grid { grid-template-columns: 1fr 1fr; }
    .nav-inner { padding: 0 20px; }
    .projekt-body { padding: 28px 20px; }
    .ref-card-number { min-width: 40px; font-size: 1.1rem; }
    .ref-card-content { padding: 16px 18px; }
}
