@font-face {
    font-family: 'Recursive';
    src: url('/assets/fonts/Recursive-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Recursive';
    src: url('/assets/fonts/Recursive-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Recursive';
    src: url('/assets/fonts/Recursive-SemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Recursive';
    src: url('/assets/fonts/Recursive-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Material Icons';
    font-style: normal;
    font-weight: 400;
    src: url('assets/icons/MaterialIcons-Regular.woff2') format('woff2');
}

.material-icons {
    font-family: 'Material Icons' !important;
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    text-transform: none;
    letter-spacing: normal;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    font-feature-settings: 'liga';
    font-variant-ligatures: normal;
}
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-body: #0f172a;
    --bg-surface: #0b1220;
    --bg-surface-soft: #111827;
    --accent: #fbbf24;
    --accent-soft: rgba(251, 191, 36, 0.12);
    --text-main: #e5e7eb;
    --text-muted: #9ca3af;
    --border-subtle: #1f2937;
    --radius-lg: 1.2rem;
    --radius-md: 0.75rem;
    --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.75);
    --transition-fast: 180ms ease-out;
    --container-width: 1120px;
    --nav-breakpoint: 768px;
    --font-main: "Recursive", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background: radial-gradient(circle at top left, #1f2937 0, #020617 52%, #020617 100%);
    color: var(--text-main);
    line-height: 1.5;
}

/* Layout helper */
.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Header & Navigation */
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(16px);
    background: linear-gradient(to right, rgba(15,23,42,0.92), rgba(15,23,42,0.92));
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 0;
    gap: 1.5rem;
}

/* Branding */
.brand {
    display: flex;
    flex-direction: column;
    padding-left: 1rem;
}

.brand-title {
    font-size: 0.8rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.brand-name {
    font-weight: 600;
    font-size: 1.05rem;
}

/* Navigation */
.main-nav ul {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 1.75rem;
    padding-right: 1rem;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0;
    position: relative;
    transition: color var(--transition-fast);
}

.main-nav a .material-icons {
    font-size: 1.1rem;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -0.2rem;
    width: 0;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent), #f97316);
    transition: width var(--transition-fast);
}

.main-nav a:hover {
    color: var(--text-main);
}

.main-nav a:hover::after {
    width: 100%;
}

/* Burger Menu */
.burger-menu {
    display: none;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.4);
    background: rgba(15,23,42,0.9);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 0.27rem;
    cursor: pointer;
    padding: 0;
    margin-right: 1rem;
}

.burger-menu .line {
    width: 1.25rem;
    height: 2px;
    border-radius: 999px;
    background: #e5e7eb;
}

/* Hero */
.hero {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding: 3.5rem 0 3rem;
    overflow: hidden;
    background-image: url("img/watch-2336376_1280.jpg");
    background-size: cover;
    background-position: center;
    filter: brightness(2);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(251, 191, 36, 0.2), transparent 55%),
    linear-gradient(to bottom, rgba(15,23,42,0.92), rgba(15,23,42,0.98));
    mix-blend-mode: multiply;
}


.hero-content {
    position: relative;
    z-index: 1;
    max-width: 36rem;
}

.hero-kicker {
    text-transform: uppercase;
    letter-spacing: 0.22em;
    font-size: 0.75rem;
    color: #e5e7eb;
    opacity: 0.9;
    margin-bottom: 0.9rem;
}


.hero h1 {
    font-size: clamp(2.2rem, 4vw, 3.1rem);
    line-height: 1.05;
    margin-bottom: 0.9rem;
}

.hero h1 span {
    color: var(--accent);
    text-shadow: 0 18px 45px rgba(0,0,0,0.55);
}

.hero-subtitle {
    font-size: 0.98rem;
    color: var(--text-muted);
    max-width: 30rem;
    margin-bottom: 1.6rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.3rem;
    border-radius: 999px;
    font-size: 0.9rem;
    border: 1px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
    white-space: nowrap;
}

.btn.primary {
    background: linear-gradient(135deg, var(--accent), #f97316);
    color: #111827;
    font-weight: 600;
    box-shadow: 0 18px 45px rgba(249,115,22,0.45);
}

.btn.primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 22px 60px rgba(249,115,22,0.65);
}

.btn.ghost {
    background: rgba(15,23,42,0.7);
    border-color: rgba(148, 163, 184, 0.5);
    color: var(--text-main);
}

.btn.ghost:hover {
    background: rgba(31,41,55,0.9);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

/* Sections */
.section {
    padding: 3.5rem 0 3rem;
}

.section-header {
    text-align: center;
    max-width: 36rem;
    margin: 0 auto 2rem;
}

.section-header.left {
    text-align: left;
    margin-left: 0;
}

.section-header h2,
.section-header h1 {
    font-size: 1.7rem;
    margin-bottom: 0.4rem;
}

.section-header p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Services Grid */
.service-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

.service-card {
    padding: 1.2rem 1.3rem;
    border-radius: var(--radius-lg);
    background: radial-gradient(circle at top left, var(--accent-soft), rgba(15,23,42,1));
    border: 1px solid rgba(148, 163, 184, 0.25);
    box-shadow: var(--shadow-soft);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.service-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.35rem;
}

.service-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.service-card:hover {
    transform: translateY(-3px);
    border-color: rgba(251, 191, 36, 0.9);
    box-shadow: 0 22px 55px rgba(15, 23, 42, 0.9);
}

/* Contact page layout */
.contact-layout {
    display: grid;
    gap: 2rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-list li {
    display: flex;
    gap: 0.9rem;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-md);
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
}

.contact-list .material-icons {
    font-size: 1.4rem;
    color: var(--accent);
    margin-top: 0.15rem;
}

.contact-list strong {
    font-size: 0.9rem;
}

.contact-list p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Contact form */
.contact-form-wrapper {
    padding: 1.25rem 1.3rem;
    border-radius: var(--radius-lg);
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-soft);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.form-row {
    display: grid;
    gap: 0.9rem;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.form-field label {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.form-field input,
.form-field textarea {
    background: var(--bg-surface-soft);
    border-radius: 0.55rem;
    border: 1px solid var(--border-subtle);
    padding: 0.55rem 0.7rem;
    font: inherit;
    color: var(--text-main);
    outline: none;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: #6b7280;
}

.form-field input:focus,
.form-field textarea:focus {
    border-color: rgba(251, 191, 36, 0.9);
    box-shadow: 0 0 0 1px rgba(251, 191, 36, 0.5);
    background: #020617;
}

.form-hint {
    margin-top: 0.4rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* Footer */
.site-footer {
    border-top: 1px solid rgba(148, 163, 184, 0.2);
    background: #020617;
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0 1.2rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    gap: 1rem;
}

.back-to-top {
    text-decoration: none;
    color: var(--accent);
    font-size: 0.85rem;
}

.back-to-top:hover {
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 767px) {
    .main-nav {
        position: fixed;
        inset: 3.4rem 1.2rem auto;
        z-index: 40;
    }

    .main-nav ul {
        flex-direction: column;
        align-items: flex-start;
        background: rgba(15,23,42,0.98);
        border-radius: var(--radius-lg);
        padding: 0.85rem;
        border: 1px solid rgba(148, 163, 184, 0.35);
        box-shadow: var(--shadow-soft);
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transform: translateY(-6px);
        pointer-events: none;
        transition: max-height 180ms ease-out, opacity 180ms ease-out, transform 180ms ease-out;
    }

    .main-nav ul.active {
        max-height: 260px;
        opacity: 1;
        transform: translateY(0);
        pointer-events: auto;
    }

    .burger-menu {
        display: inline-flex;
    }

    .hero {
        padding-top: 2.3rem;
        padding-bottom: 2.6rem;
        min-height: 65vh;
    }

    .footer-inner {
        flex-direction: column;
        align-items: center;      /* statt flex-start */
        text-align: center;       /* Text auch mittig */
        gap: 0.6rem;
    }

    .footer-inner > div {
        display: flex;            /* Links in eine Zeile/mehrere Zeilen */
        flex-wrap: wrap;
        justify-content: center;  /* mittig */
        gap: 0.5rem;
    }

    /* Trennerpunkt h���bsch (optional): Abstand um den Punkt */
    .footer-inner > div {
        line-height: 1.6;
    }
}

@media (min-width: 600px) {
    .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 768px) {
    .hero {
        padding-top: 4rem;
        padding-bottom: 3.6rem;
    }

    .contact-layout {
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
        align-items: flex-start;
    }

    .form-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 960px) {
    .hero {
        min-height: 78vh;
    }

    .hero-content {
        max-width: 40rem;
    }
}

/* ABOUT ME Layout */
.about-layout {
    display: grid;
    gap: 2rem;
    grid-template-columns: 1fr;
}

.profile-picture-box {
    max-width: 260px;
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

.profile-picture-box img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    border: 2px solid rgba(148, 163, 184, 0.3);
    box-shadow: var(--shadow-soft);
}

.picture-hint {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.35rem;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

@media (min-width: 800px) {
    .about-layout {
        grid-template-columns: 0.9fr 1.4fr;
        align-items: start;
    }

    .profile-picture-box {
        margin: 0;
    }
}
/* PROJECT GRID */
.project-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.project-card {
    background: var(--bg-surface);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.project-card:hover {
    transform: translateY(-4px);
    border-color: var(--accent);
    box-shadow: 0 25px 60px rgba(0,0,0,0.65);
}

.project-image {
    width: 100%;
    height: 200px;
    background: #0f172a;
    display: flex;
}

.project-image img {
    width: 50%;
    height: 100%;
    object-fit: contain;
    background: #020617;
}


.project-content {
    padding: 1.2rem 1.3rem;
}

.project-content h3 {
    margin-bottom: 0.4rem;
    font-size: 1.1rem;
}

.project-content p {
    color: var(--text-muted);
    font-size: 0.92rem;
}

/* Responsive Layout */
@media (min-width: 600px) {
    .project-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1000px) {
    .project-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.contact-list a {
    color: inherit;
    text-decoration: none;
}
.contact-list a:hover {
    text-decoration: underline;
}

.site-footer a {
    text-decoration: none;
    color: var(--accent);
    font-size: 0.85rem;
}

.site-footer a:hover {
    text-decoration: underline;
}

/* Zwischen Tablet & Desktop */
@media (min-width: 768px) and (max-width: 1200px) {
    .footer-inner {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}





