:root {
    --navy: #1a1a2e;
    --navy-light: #22223a;
    --gold: #C9A84C;
    --gold-dim: rgba(201,168,76,0.12);
    --dark: #0c0c14;
    --dark-alt: #101020;
    --text: #e0e0e0;
    --dim: #888;
    --border: rgba(201,168,76,0.1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--dark);
    color: var(--text);
    line-height: 1.7;
}

/* === NAVBAR === */
.navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(12, 12, 20, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(201,168,76,0.06);
    transition: all 0.3s;
}
.navbar.scrolled {
    background: rgba(12, 12, 20, 0.95);
    border-bottom-color: rgba(201,168,76,0.15);
    box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}
.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 28px;
    height: 68px;
}
.nav-brand {
    font-size: 1.25rem;
    font-weight: 200;
    letter-spacing: 3px;
    color: var(--text);
    text-decoration: none;
}
.nav-brand span { font-weight: 700; color: var(--gold); }
.nav-links {
    display: flex;
    gap: 2px;
    list-style: none;
}
.nav-links a {
    color: var(--dim);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    padding: 10px 16px;
    border-radius: 8px;
    transition: all 0.2s;
}
.nav-links a:hover, .nav-links a.active {
    color: var(--gold);
    background: var(--gold-dim);
}
.nav-cta {
    background: var(--gold) !important;
    color: var(--navy) !important;
    font-weight: 600 !important;
}
.nav-cta:hover { opacity: 0.9; }

.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    margin: 5px 0;
    transition: all 0.3s;
    border-radius: 2px;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* === HERO === */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 100px 24px 80px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at 50% 30%, rgba(201,168,76,0.06) 0%, transparent 60%);
}
.logo-text {
    font-size: clamp(3rem, 10vw, 5.5rem);
    font-weight: 200;
    letter-spacing: 12px;
    position: relative;
}
.logo-text span { font-weight: 700; color: var(--gold); }
.logo-line {
    width: 180px;
    height: 1px;
    background: var(--gold);
    opacity: 0.35;
    margin: 20px auto;
}
.tagline {
    font-size: 0.9rem;
    font-weight: 300;
    color: var(--dim);
    letter-spacing: 5px;
    text-transform: uppercase;
    margin-bottom: 44px;
}
.hero-text {
    font-size: 1.15rem;
    color: #aaa;
    max-width: 540px;
    margin-bottom: 48px;
    font-weight: 300;
    position: relative;
}

/* === BUTTONS === */
.cta-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
}
.btn {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s;
}
.btn-gold {
    background: var(--gold);
    color: var(--navy);
}
.btn-gold:hover {
    background: #d4b55a;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(201,168,76,0.2);
}
.btn-outline {
    border: 1px solid rgba(201,168,76,0.35);
    color: var(--gold);
}
.btn-outline:hover {
    border-color: var(--gold);
    background: var(--gold-dim);
    transform: translateY(-2px);
}

/* === SECTION BASICS === */
.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 12px;
}
.section-sub {
    text-align: center;
    color: var(--dim);
    margin-bottom: 40px;
    font-weight: 300;
    font-size: 0.95rem;
}

/* === TEASER (Home) === */
.teaser {
    padding: 100px 24px;
    max-width: 1100px;
    margin: 0 auto;
}
.teaser.alt {
    background: var(--dark-alt);
    max-width: 100%;
    padding-left: 24px;
    padding-right: 24px;
}
.teaser-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}
.teaser-card {
    background: var(--navy);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 40px 28px;
    text-align: center;
    transition: all 0.3s;
}
.teaser-card:hover {
    border-color: rgba(201,168,76,0.3);
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.teaser-icon { font-size: 2.8rem; margin-bottom: 20px; line-height: 1; }
.teaser-icon svg { width: 48px; height: 48px; }
.teaser-card h3 {
    color: #fff;
    font-size: 1.15rem;
    margin-bottom: 12px;
}
.teaser-card p {
    color: var(--dim);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Portfolio Preview (Home) */
.portfolio-preview {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
    margin-top: 48px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}
.preview-item {
    width: 140px;
    height: 140px;
    background: var(--navy);
    border: 1px solid var(--border);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}
.preview-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(201,168,76,0.03) 1px, transparent 1px);
    background-size: 16px 16px;
}
.preview-item:hover {
    border-color: rgba(201,168,76,0.3);
    transform: translateY(-4px);
}
.preview-item svg {
    width: 40px;
    height: 40px;
    opacity: 0.6;
    position: relative;
    z-index: 1;
}
.preview-item small {
    font-size: 0.7rem;
    color: var(--dim);
    margin-top: 10px;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1;
}

/* === CTA BANNER === */
.cta-banner {
    padding: 100px 24px;
    background: linear-gradient(135deg, var(--navy) 0%, #1e1e38 100%);
}
.cta-inner {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}
.cta-inner h2 {
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 12px;
    color: #fff;
}
.cta-inner p {
    color: var(--dim);
    margin-bottom: 32px;
    font-size: 1.05rem;
}

/* === PAGE HEADER (sub pages) === */
.page-header {
    padding: 140px 24px 60px;
    text-align: center;
    background: linear-gradient(180deg, var(--dark-alt) 0%, var(--dark) 100%);
}
.page-header h1 {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--gold);
}
.page-header p {
    color: var(--dim);
    font-size: 1.05rem;
    margin-top: 12px;
    font-weight: 300;
}

/* === SERVICE CARDS (Leistungen page) === */
.services-page {
    padding: 60px 24px 100px;
    max-width: 1100px;
    margin: 0 auto;
}
.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}
.service-card {
    background: var(--navy);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 40px 32px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}
.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 3px;
    background: linear-gradient(90deg, var(--gold), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}
.service-card:hover {
    border-color: rgba(201,168,76,0.25);
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.service-card:hover::before { opacity: 1; }
.service-icon { margin-bottom: 20px; line-height: 1; }
.service-icon svg { width: 36px; height: 36px; }
.service-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #fff;
}
.service-card p {
    color: #999;
    font-size: 0.92rem;
    line-height: 1.7;
}
.service-card ul {
    list-style: none;
    margin-top: 16px;
}
.service-card ul li {
    color: var(--dim);
    font-size: 0.85rem;
    padding: 4px 0;
}
.service-card ul li::before {
    content: '›';
    color: var(--gold);
    margin-right: 8px;
    font-weight: bold;
}

/* Category dividers */
.category-section {
    margin-top: 60px;
    padding-top: 48px;
    border-top: 1px solid rgba(201,168,76,0.1);
}
.category-section:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border-top: none;
}
.category-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 16px;
}
.category-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(201,168,76,0.3), transparent);
}
.category-sub {
    color: var(--dim);
    font-size: 0.95rem;
    font-weight: 300;
    margin-bottom: 32px;
}

/* === PORTFOLIO GRID === */
.portfolio-page {
    padding: 60px 24px 100px;
    max-width: 1100px;
    margin: 0 auto;
}
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}
.portfolio-item {
    background: var(--navy);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s;
}
.portfolio-item:hover {
    transform: translateY(-4px);
    border-color: rgba(201,168,76,0.25);
    box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.portfolio-item .placeholder {
    width: 100%;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.portfolio-item .placeholder svg {
    width: 44px;
    height: 44px;
    opacity: 0.7;
    z-index: 1;
}
.portfolio-item .placeholder .ph-pattern {
    position: absolute;
    inset: 0;
}
/* Gradient variations per card */
.ph-grad-1 { background: linear-gradient(135deg, #141428 0%, #1e1e3a 50%, #1a1a30 100%); }
.ph-grad-2 { background: linear-gradient(135deg, #181830 0%, #22203a 50%, #1c1a2e 100%); }
.ph-grad-3 { background: linear-gradient(135deg, #161630 0%, #201e38 50%, #1a1a2e 100%); }
.ph-grad-4 { background: linear-gradient(135deg, #141428 0%, #1c1c34 50%, #181830 100%); }
.ph-grad-5 { background: linear-gradient(135deg, #181832 0%, #1e1e3a 50%, #161628 100%); }
.ph-grad-6 { background: linear-gradient(135deg, #161630 0%, #201e38 50%, #141428 100%); }
.placeholder .ph-label {
    position: absolute;
    bottom: 12px;
    right: 14px;
    font-size: 0.65rem;
    color: rgba(201,168,76,0.25);
    letter-spacing: 2px;
    text-transform: uppercase;
    z-index: 1;
}
.placeholder .ph-dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(201,168,76,0.04) 1px, transparent 1px);
    background-size: 20px 20px;
}
.placeholder .ph-ring {
    position: absolute;
    width: 90px;
    height: 90px;
    border: 1px solid rgba(201,168,76,0.08);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.placeholder .ph-ring-sm {
    position: absolute;
    width: 56px;
    height: 56px;
    border: 1px solid rgba(201,168,76,0.05);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.portfolio-item .info { padding: 24px; }
.portfolio-item .info h3 {
    color: var(--gold);
    font-size: 1.1em;
    margin-bottom: 8px;
}
.portfolio-item .info p {
    color: var(--dim);
    font-size: 0.88em;
    line-height: 1.6;
}
.portfolio-item .info .tag {
    display: inline-block;
    background: var(--gold-dim);
    color: var(--gold);
    font-size: 0.72rem;
    padding: 4px 10px;
    border-radius: 20px;
    margin-top: 12px;
    font-weight: 500;
}

/* === ABOUT PAGE === */
.about-page {
    padding: 60px 24px 100px;
    max-width: 800px;
    margin: 0 auto;
}
.about-page p {
    color: #bbb;
    font-size: 1.05rem;
    font-weight: 300;
    margin-bottom: 20px;
    line-height: 1.8;
}
.about-page h3 {
    color: var(--gold);
    font-size: 1.2rem;
    margin: 40px 0 16px;
    font-weight: 500;
}
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 32px;
}
.value-card {
    background: var(--navy);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 28px 24px;
    text-align: center;
    transition: all 0.3s;
}
.value-card:hover { border-color: rgba(201,168,76,0.25); }
.value-card .v-icon { font-size: 2rem; margin-bottom: 12px; }
.value-card h4 { color: #fff; font-size: 1rem; margin-bottom: 8px; }
.value-card p { color: var(--dim); font-size: 0.85rem; }

/* === CONTACT PAGE === */
.contact-page {
    padding: 60px 24px 100px;
    max-width: 900px;
    margin: 0 auto;
}
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.contact-info-block h3 {
    color: var(--gold);
    font-size: 1.1rem;
    margin-bottom: 20px;
}
.contact-detail {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 1rem;
}
.contact-detail .c-icon {
    color: var(--gold);
    font-size: 1.2rem;
    width: 28px;
    text-align: center;
}
.contact-detail a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.2s;
}
.contact-detail a:hover { color: var(--gold); }

/* Form */
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    color: var(--dim);
    font-size: 0.85em;
    margin-bottom: 8px;
    font-weight: 500;
}
.form-group input, .form-group textarea, .form-group select {
    width: 100%;
    padding: 14px;
    background: var(--navy);
    border: 1px solid #333;
    color: var(--text);
    border-radius: 8px;
    font-size: 1em;
    font-family: inherit;
    transition: border-color 0.2s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    outline: none;
    border-color: var(--gold);
}
.form-group textarea { resize: vertical; min-height: 140px; }
.submit-btn {
    padding: 16px 48px;
    background: var(--gold);
    color: var(--navy);
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
}
.submit-btn:hover {
    background: #d4b55a;
    transform: translateY(-1px);
}
.form-success {
    display: none;
    text-align: center;
    padding: 40px;
    color: var(--gold);
    font-size: 1.2em;
}

/* === FOOTER === */
footer {
    padding: 40px 24px;
    border-top: 1px solid rgba(255,255,255,0.04);
}
.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}
.footer-brand {
    font-size: 1rem;
    font-weight: 200;
    letter-spacing: 2px;
    color: #555;
}
.footer-brand span { font-weight: 600; color: #666; }
.footer-links { display: flex; gap: 20px; }
.footer-links a {
    color: #555;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}
.footer-links a:hover { color: var(--gold); }
.footer-copy { color: #444; font-size: 0.8rem; }

/* === ANIMATIONS === */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: all 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fd1 { transition-delay: 0.1s; }
.fd2 { transition-delay: 0.2s; }
.fd3 { transition-delay: 0.3s; }
.fd4 { transition-delay: 0.4s; }
.fd5 { transition-delay: 0.5s; }

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .hamburger { display: block; }
    .nav-links {
        display: none;
        position: absolute;
        top: 68px; left: 0; right: 0;
        background: rgba(12, 12, 20, 0.97);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 12px 20px 20px;
        border-bottom: 1px solid rgba(201,168,76,0.12);
    }
    .nav-links.open { display: flex; }
    .nav-links a { padding: 12px 16px; }
    .teaser-grid { grid-template-columns: 1fr; }
    .service-grid { grid-template-columns: 1fr; }
    .portfolio-grid { grid-template-columns: 1fr; }
    .contact-layout { grid-template-columns: 1fr; }
    .values-grid { grid-template-columns: 1fr; }
    .cta-row { flex-direction: column; align-items: center; }
    .portfolio-preview { gap: 16px; }
    .preview-item { width: 110px; height: 110px; font-size: 2.2rem; }
    .footer-inner { flex-direction: column; text-align: center; }
}
