/* TYPOGRAFIE */

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
    background: #fff;
    color: #111;
    -webkit-font-smoothing: antialiased;
}

h1 {
    font-size: 64px;
    font-weight: 700;
    letter-spacing: -1px;
}

h2 {
    font-size: 32px;
    font-weight: 600;
}

p {
    font-size: 18px;
    line-height: 1.6;
    opacity: 0.85;
}
body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    background: #fff;
    color: #111;
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 60px 40px;
}

/* Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    transition: 0.3s ease;
}

body {
    padding-top: 90px;
}


header h2 {
    margin: 0;
    font-weight: 600;
}

nav a {
    margin-right: 20px;
    text-decoration: none;
    color: #111;
    font-weight: 500;
}

nav a:hover {
    opacity: 0.6;
}

/* Portfolio Grid */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

/* Portfolio Item */
.portfolio-item {
    position: relative;
    overflow: hidden;
}

.portfolio-item img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.portfolio-item:hover img {
    transform: scale(1.05);
}

/* Overlay */
.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

/* Filter */
.portfolio-filter {
    margin-bottom: 50px;
}

.portfolio-filter a {
    margin-right: 20px;
    text-decoration: none;
    color: #111;
    font-weight: 500;
}

.portfolio-filter a:hover {
    opacity: 0.6;
}

/* Footer */
footer {
    padding: 40px;
    border-top: 1px solid #eee;
    text-align: center;
    margin-top: 80px;
}
.portfolio-filter .active {
    font-weight: 700;
    position: relative;
}

.portfolio-filter .active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 2px;
    background: #111;
}
/* HERO SECTION */

.hero {
    height: 100vh;
    background-image: url('https://philipp-heist.de/wp-content/uploads/2026/02/PhilippHeist_NT_-740824-scaled.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
}

.hero-content {
    position: relative;
    color: white;
    z-index: 2;
}

.hero h1 {
    font-size: 60px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 20px;
    margin-bottom: 40px;
}

.hero-button {
    padding: 12px 30px;
    background: white;
    color: black;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s ease;
}

.hero-button:hover {
    background: #ddd;
}

h2 {
    font-size: 28px;
    font-weight: 600;
}
.section-title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 40px;
}
header {
    padding: 25px 40px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

nav a {
    margin-left: 30px;
    text-decoration: none;
    color: #111;
    font-weight: 500;
    transition: 0.3s ease;
}

nav a:hover {
    opacity: 0.6;
}
.container {
    max-width: 1200px;
    margin: auto;
    padding: 100px 40px;
}
html {
    scroll-behavior: smooth;
}
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* SINGLE PORTFOLIO HERO */

.single-hero {
    position: relative;
    height: 90vh;
    overflow: hidden;
}

.single-hero img {
    width: 100%;
    height: 110%;
    object-fit: cover;
    transform: translateY(0);
    transition: transform 0.1s linear;
}

.single-hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 60px;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
}

.single-hero-overlay h1 {
    color: white;
    font-size: 48px;
    margin: 0;
}

/* SINGLE CONTENT */

.single-content {
    padding-top: 100px;
}

.single-text {
    max-width: 800px;
    margin: auto;
    font-size: 18px;
    line-height: 1.8;
}

/* GUTENBERG GALERIE UPGRADE */

.wp-block-gallery {
    margin-top: 80px;
    margin-bottom: 80px;
    gap: 30px !important;
}

.wp-block-gallery .blocks-gallery-item,
.wp-block-gallery .wp-block-image {
    overflow: hidden;
}

.wp-block-gallery img {
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.wp-block-gallery img:hover {
    transform: scale(1.03);
}
/* Mehr Luft zwischen Absätzen und Galerie */

.single-text p {
    margin-bottom: 30px;
}

/* Galerie etwas breiter als Text */

.single-content .wp-block-gallery {
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}
.single-hero-overlay h1 {
    font-size: 56px;
    font-weight: 700;
    letter-spacing: -1px;
}

/* DARK MODE */

body.dark-mode {
    background: #0d0d0d;
    color: #f5f5f5;
}

body.dark-mode header {
    background: rgba(20,20,20,0.8);
}

body.dark-mode nav a {
    color: #f5f5f5;
}

body.dark-mode .hero-button {
    background: #f5f5f5;
    color: #111;
}

body.dark-mode .portfolio-filter a {
    color: #f5f5f5;
}

.theme-toggle {
    margin-left: 20px;
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
}

/* NAVIGATION FIX */

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 30px;
}

nav ul li {
    margin: 0;
}

nav ul li a {
    text-decoration: none;
    color: #111;
    font-weight: 500;
    transition: 0.3s ease;
}

nav ul li a:hover {
    opacity: 0.6;
}

nav ul li.current-menu-item a {
    font-weight: 700;
    border-bottom: 2px solid #111;
    padding-bottom: 4px;
}
/* MOBILE NAVIGATION */

.menu-toggle {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
}

@media (max-width: 900px) {

    nav ul {
        flex-direction: column;
        background: white;
        position: absolute;
        top: 80px;
        right: 0;
        width: 220px;
        padding: 20px;
        display: none;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }

    nav ul.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }
}
/* =========================
   HEADER & MOBILE MENU
========================= */

header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
}

body {
    padding-top: 80px;
}

.logo a {
    text-decoration: none;
    color: #111;
    font-weight: 600;
}

/* Desktop Menü */

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 30px;
}

nav ul li a {
    text-decoration: none;
    color: #111;
}

/* Burger Button */

.menu-toggle {
    display: none;
}

/* Mobile */

@media (max-width: 900px) {

    .menu-toggle {
        display: block;
        font-size: 28px;
        background: none;
        border: none;
        cursor: pointer;
    }

    nav ul {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        right: 0;
        background: white;
        width: 220px;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }

    nav ul.active {
        display: flex;
    }
}
.about-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-image img {
    width: 100%;
    height: auto;
}

@media (max-width: 900px) {
    .about-layout {
        grid-template-columns: 1fr;
    }
}
.contact-form input,
.contact-form textarea {
    border: none;
    border-bottom: 1px solid #ccc;
    padding: 12px 0;
    background: transparent;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-bottom: 1px solid #111;
}
/* INSTAGRAM SECTION */

.instagram-section {
    margin-top: 120px;
}

.instagram-section h2 {
    margin-bottom: 40px;
}

.instagram-feed {
    margin-top: 20px;
}
