/*
Theme Name: Nizak Digital WP
Theme URI: https://nizak-digital.de
Author: Justin
Author URI: https://nizak-digital.de
Description: Onepager-Theme für NIZAK DIGITAL – 3D & Media Solutions.
Version: 1.0
Text Domain: nizakdigital-wp
*/

/* Grundlayout / Farben */

:root {
    --nd-bg: #020617;
    --nd-bg-soft: #050816;
    --nd-surface: #020617;
    --nd-border: #1e293b;
    --nd-accent: #38bdf8;
    --nd-accent-2: #6366f1;
    --nd-text: #e5e7eb;
    --nd-text-muted: #9ca3af;
    --nd-radius: 16px;
    --nd-radius-small: 10px;
    --nd-font-main: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--nd-font-main);
    background:
        radial-gradient(circle at top, #0b1120 0, #020617 50%, #000 100%);
    color: var(--nd-text);
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

.nd-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.nd-main {
    flex: 1 0 auto;
}

.nd-container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 1.5rem 1.25rem;
}

/* Header / Navigation */

.nd-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(24px);
    background: linear-gradient(
        to bottom,
        rgba(15, 23, 42, 0.97),
        rgba(15, 23, 42, 0.88),
        transparent
    );
    border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.nd-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.nd-logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nd-logo-mark {
    width: 2.3rem;
    height: 2.3rem;
    border-radius: 0.9rem;
    border: 1px solid rgba(129, 140, 248, 0.5);
    background:
        radial-gradient(circle at 0 0, #38bdf8 0, transparent 55%),
        radial-gradient(circle at 100% 100%, #6366f1 0, transparent 60%),
        radial-gradient(circle at 30% 70%, #22c55e 0, transparent 60%);
    box-shadow:
        0 0 25px rgba(59, 130, 246, 0.4),
        0 0 45px rgba(56, 189, 248, 0.4);
    position: relative;
    overflow: hidden;
}

.nd-logo-mark::after {
    content: "ND";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    letter-spacing: 0.14em;
    font-size: 0.7rem;
    color: rgba(15, 23, 42, 0.95);
    background: radial-gradient(circle at 50% 50%, rgba(15, 23, 42, 0.02), transparent 65%);
}

.nd-logo-text-main {
    font-size: 0.8rem;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.nd-logo-text-sub {
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--nd-text-muted);
}

.nd-nav {
    display: flex;
    align-items: center;
    gap: 1.3rem;
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.nd-nav-link {
    position: relative;
    padding-bottom: 0.1rem;
    color: var(--nd-text-muted);
}

.nd-nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.2rem;
    width: 0;
    height: 1px;
    background: linear-gradient(to right, var(--nd-accent), var(--nd-accent-2));
    transition: width 0.18s ease;
}

.nd-nav-link:hover {
    color: var(--nd-text);
}

.nd-nav-link:hover::after {
    width: 100%;
}

.nd-nav-cta {
    border-radius: 999px;
    padding: 0.45rem 0.95rem;
    border: 1px solid rgba(129, 140, 248, 0.6);
    background:
        radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.3), transparent 65%),
        rgba(15, 23, 42, 0.95);
    color: var(--nd-text);
    font-size: 0.78rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    box-shadow:
        0 0 15px rgba(56, 189, 248, 0.35),
        0 0 30px rgba(79, 70, 229, 0.4);
}

.nd-nav-cta span {
    font-size: 0.9em;
}

/* Hero */

.nd-hero {
    padding-top: 3.3rem;
    padding-bottom: 2.7rem;
}

.nd-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.3fr);
    gap: 2.3rem;
    align-items: flex-start;
}

.nd-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.26rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.3);
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--nd-text-muted);
    background:
        radial-gradient(circle at 0 0, rgba(56, 189, 248, 0.2), transparent 60%);
}

.nd-kicker-dot {
    width: 0.4rem;
    height: 0.4rem;
    border-radius: 999px;
    background: radial-gradient(circle at 50% 50%, #22c55e 0, #16a34a 45%, transparent 80%);
    box-shadow: 0 0 12px rgba(34, 197, 94, 0.8);
}

.nd-hero-title {
    margin: 1.1rem 0 0.7rem;
    font-size: clamp(2.1rem, 3.3vw, 3rem);
    line-height: 1.05;
    letter-spacing: 0.02em;
}

.nd-hero-title span {
    background: linear-gradient(to right, #38bdf8, #6366f1);
    -webkit-background-clip: text;
    color: transparent;
}

.nd-hero-text {
    max-width: 35rem;
    font-size: 0.98rem;
    color: var(--nd-text-muted);
}

.nd-hero-actions {
    margin-top: 1.4rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
}

.nd-btn-primary,
.nd-btn-secondary {
    border-radius: 999px;
    padding: 0.7rem 1.3rem;
    font-size: 0.8rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    border: 1px solid transparent;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    cursor: pointer;
}

.nd-btn-primary {
    background:
        radial-gradient(circle at 0 0, #22c55e 0, transparent 55%),
        radial-gradient(circle at 100% 100%, #6366f1 0, transparent 60%);
    border-color: rgba(129, 140, 248, 0.7);
    color: #f9fafb;
    box-shadow:
        0 0 20px rgba(56, 189, 248, 0.3),
        0 0 40px rgba(79, 70, 229, 0.4);
}

.nd-btn-secondary {
    background: rgba(15, 23, 42, 0.9);
    border-color: rgba(148, 163, 184, 0.4);
    color: var(--nd-text-muted);
}

.nd-hero-tags {
    margin-top: 1.3rem;
    font-size: 0.8rem;
    color: var(--nd-text-muted);
}

.nd-hero-tags span {
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.3);
    margin-right: 0.4rem;
}

/* Karten / Sektionen */

.nd-card {
    border-radius: var(--nd-radius);
    border: 1px solid var(--nd-border);
    background:
        radial-gradient(circle at 0 0, rgba(15, 23, 42, 0.92), transparent 60%),
        radial-gradient(circle at 100% 100%, rgba(15, 23, 42, 0.92), transparent 60%),
        rgba(15, 23, 42, 0.98);
    padding: 1.2rem 1.3rem;
    position: relative;
    overflow: hidden;
}

.nd-card-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--nd-text-muted);
    margin-bottom: 0.4rem;
}

.nd-card-title {
    font-size: 1rem;
    margin-bottom: 0.4rem;
}

.nd-card-metadata {
    font-size: 0.82rem;
    color: var(--nd-text-muted);
}

.nd-card-meta-row {
    display: flex;
    justify-content: space-between;
    margin-top: 0.4rem;
    font-size: 0.8rem;
}

.nd-card-status {
    margin-top: 0.7rem;
    font-size: 0.8rem;
    color: var(--nd-text-muted);
}

/* Workflow-List im Hero */

.nd-workflow {
    margin-top: 1.1rem;
}

.nd-workflow-title {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--nd-text-muted);
    margin-bottom: 0.4rem;
}

.nd-workflow-step {
    display: flex;
    gap: 0.5rem;
    font-size: 0.84rem;
    color: var(--nd-text-muted);
}

.nd-workflow-step + .nd-workflow-step {
    margin-top: 0.25rem;
}

.nd-step-badge {
    width: 1.4rem;
    height: 1.4rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: var(--nd-text-muted);
}

/* Generelle Sektionen */

.nd-section {
    padding: 2.5rem 0;
}

.nd-section-header {
    margin-bottom: 1.5rem;
}

.nd-section-kicker {
    font-size: 0.76rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--nd-text-muted);
    margin-bottom: 0.4rem;
}

.nd-section-title {
    font-size: 1.4rem;
    margin: 0 0 0.5rem;
}

.nd-section-intro {
    max-width: 34rem;
    color: var(--nd-text-muted);
    font-size: 0.95rem;
}

.nd-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.2rem;
}

/* Listen etc. */

.nd-list {
    margin: 0.4rem 0 0;
    padding-left: 1.1rem;
    font-size: 0.9rem;
    color: var(--nd-text-muted);
}

/* Über / Kurzprofil */

.nd-about-text {
    max-width: 38rem;
    font-size: 0.95rem;
    color: var(--nd-text-muted);
}

.nd-about-grid {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(0, 1.3fr);
    gap: 1.5rem;
}

/* Kontakt */

.nd-contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.3fr);
    gap: 1.5rem;
}

.nd-contact-meta {
    font-size: 0.9rem;
    color: var(--nd-text-muted);
}

.nd-contact-meta p {
    margin: 0.3rem 0;
}

.nd-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    font-size: 0.86rem;
}

.nd-form-label {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.nd-form-label span {
    color: var(--nd-text-muted);
    font-size: 0.8rem;
}

.nd-input,
.nd-textarea {
    border-radius: var(--nd-radius-small);
    border: 1px solid var(--nd-border);
    background: rgba(15, 23, 42, 0.9);
    padding: 0.5rem 0.6rem;
    color: var(--nd-text);
    font-family: inherit;
    font-size: 0.88rem;
}

.nd-textarea {
    min-height: 6rem;
    resize: vertical;
}

.nd-form-hint {
    font-size: 0.78rem;
    color: var(--nd-text-muted);
    margin-top: 0.4rem;
}

/* Footer */

.nd-footer {
    border-top: 1px solid rgba(148, 163, 184, 0.35);
    background: radial-gradient(circle at top, #020617 0, #000 80%);
    padding: 1.4rem 0 1.6rem;
    font-size: 0.8rem;
    color: var(--nd-text-muted);
}

.nd-footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.nd-footer-links a {
    color: var(--nd-text-muted);
    text-decoration: underline;
    text-decoration-style: dotted;
    text-underline-offset: 3px;
}

/* Responsive */

@media (max-width: 920px) {
    .nd-hero-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .nd-about-grid,
    .nd-contact-grid,
    .nd-grid-3 {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 720px) {
    .nd-header-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.9rem;
    }
    .nd-nav {
        flex-wrap: wrap;
        gap: 0.6rem;
    }
}

@media (max-width: 480px) {
    .nd-hero {
        padding-top: 2.5rem;
    }
}