 :root {
    --bg: #050505;
    --bg-soft: #0d0d0d;
    --card: #151515;
    --text: #f3f0e8;
    --muted: #b8b0a0;
    --accent: #d99a45;
    --border: rgba(255, 255, 255, .1)
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6
}

img {
    width: 100%;
    display: block
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    height: 44px;
    width: auto;
    display: block;
    flex-shrink: 0;
}

a {
    text-decoration: none;
    color: inherit
}

.header {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    background: rgba(8, 17, 13, .75);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border)
}

.navbar {
    max-width: 1200px;
    margin: auto;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center
}

.logo {
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--accent)
}

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

.nav-links a {
    color: var(--muted);
    transition: .3s
}

.nav-links a:hover {
    color: var(--text)
}

.menu-toggle {
    display: none;
    background: none;
    border: 0;
    cursor: pointer
}

.menu-toggle span {
    width: 26px;
    height: 2px;
    background: var(--text);
    display: block;
    margin: 6px 0
}

.hero {
    min-height: 100vh;
    background: linear-gradient(rgba(8, 17, 13, .4), rgba(8, 17, 13, .9)), url(Bubendorf.webp);
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 8rem 1.5rem 4rem
}

.hero-content {
    max-width: 760px;
    margin-left: max(1.5rem, calc((100vw - 1200px)/2))
}

.eyebrow {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: .78rem;
    font-weight: 700;
    margin-bottom: 1rem
}

.hero h1 {
    font-size: clamp(2.8rem, 7vw, 6.5rem);
    line-height: .95;
    margin-bottom: 1.5rem
}

.hero p {
    max-width: 600px;
    color: var(--muted);
    font-size: 1.1rem
}

.hero-buttons {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap
}

.btn {
    display: inline-block;
    padding: .9rem 1.4rem;
    border-radius: 999px;
    font-weight: 700;
    border: 1px solid transparent;
    cursor: pointer;
    transition: .3s
}

.btn.primary {
    background: var(--accent);
    color: #1c1207
}

.btn.primary:hover {
    background: #f0b363
}

.btn.secondary {
    border-color: var(--border);
    color: var(--text)
}

.btn.secondary:hover {
    border-color: var(--accent);
    color: var(--accent)
}

.section {
    max-width: 1200px;
    margin: auto;
    padding: 6rem 1.5rem
}

.intro {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: end
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    line-height: 1.05
}

.intro>p,
.about-content p,
.contact-content p {
    color: var(--muted)
}

.section-heading {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 3rem
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap
}

.filter-btn {
    padding: .75rem 1.2rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    transition: .3s
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--accent);
    color: #1c1207;
    border-color: var(--accent)
}

.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    justify-content: center;
}

.gallery-item {
    position: relative;
    height: 360px;
    overflow: hidden;
    border-radius: 22px;
    cursor: pointer;
    background: var(--card)
}

.gallery-item img {
    height: 100%;
    object-fit: cover;
    transition: .5s
}

.gallery-item:hover img {
    transform: scale(1.08)
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: end;
    flex-direction: column;
    padding: 1.5rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, .75));
    opacity: 0;
    transition: .3s
}

.gallery-item:hover .gallery-overlay {
    opacity: 1
}

.gallery-overlay p {
    color: var(--accent)
}

.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center
}

.about-image img {
    border-radius: 28px;
    height: 620px;
    object-fit: cover
}

.about-content p {
    margin-top: 1rem
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 2rem
}

.stats div {
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 1.2rem
}

.stats strong {
    display: block;
    font-size: 2rem;
    color: var(--accent)
}

.stats span {
    color: var(--muted);
    font-size: .9rem
}

.services {
    max-width: 100%;
    background: var(--bg-soft)
}

.services .section-heading,
.service-grid {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding: 0 1.5rem
}

.service-card {
    background: var(--card);
    border: 1px solid var(--border);
    padding: 2rem;
    border-radius: 24px
}

.service-card h3 {
    margin-bottom: 1rem;
    color: var(--accent)
}

.service-card p {
    color: var(--muted)
}

.testimonial {
    text-align: center;
    max-width: 900px
}

.testimonial blockquote {
    font-size: clamp(1.6rem, 3vw, 2.8rem);
    line-height: 1.2;
    margin-bottom: 1.5rem
}

.testimonial p {
    color: var(--accent)
}

.contact {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 3rem;
    align-items: start
}

.contact-form {
    display: grid;
    gap: 1rem
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    color: var(--text);
    padding: 1rem;
    border-radius: 16px;
    font: inherit
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: 1px solid var(--accent)
}

.footer {
    border-top: 1px solid var(--border);
    padding: 2rem 1.5rem;
    max-width: 1200px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    color: var(--muted)
}

.footer div {
    display: flex;
    gap: 1rem
}

.footer a:hover {
    color: var(--accent)
}

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .92);
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem
}

.lightbox.active {
    display: flex
}

.lightbox img {
    max-width: 95%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 16px
}

.lightbox button {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    background: none;
    border: 0;
    color: #fff;
    font-size: 3rem;
    cursor: pointer
}

@media(max-width:900px) {
    .menu-toggle {
        display: block
    }

    .nav-links {
        position: absolute;
        top: 100%;
        right: 1rem;
        left: 1rem;
        background: var(--bg-soft);
        border: 1px solid var(--border);
        border-radius: 18px;
        flex-direction: column;
        padding: 1rem;
        display: none
    }

    .nav-links.active {
        display: flex
    }

    .intro,
    .about,
    .contact {
        grid-template-columns: 1fr
    }

    .gallery,
    .service-grid {
        grid-template-columns: 1fr 1fr
    }

    .about-image img {
        height: 420px
    }
}

@media(max-width:600px) {

    .gallery,
    .service-grid,
    .stats {
        grid-template-columns: 1fr
    }

    .footer {
        flex-direction: column
    }

    .hero {
        padding-top: 7rem
    }

    .section {
        padding: 4rem 1.2rem
    }
}

.section-heading p {
    color: var(--muted);
    margin-top: 1rem
}

.topic-gallery .gallery-item {
    display: block
}

.topic-card .gallery-overlay {
    opacity: 1
}

.topic-card::after {
    content: "Öffnen";
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(8, 17, 13, .75);
    border: 1px solid var(--border);
    color: var(--text);
    padding: .45rem .8rem;
    border-radius: 999px;
    font-size: .85rem
}

.gallery-page {
    padding-top: 9rem;
    min-height: 75vh
}

.gallery-page h1 {
    font-size: clamp(2.6rem, 6vw, 5rem);
    line-height: 1
}

.back-link {
    display: inline-flex;
    margin-bottom: 2rem;
    color: var(--accent);
    font-weight: 700
}

.sub-gallery .gallery-item {
    height: 400px
}

.sub-gallery .gallery-overlay {
    opacity: 1
}

.sub-gallery .gallery-overlay p {
    font-size: .95rem
}

@media(max-width:900px) {
    .topic-gallery {
        grid-template-columns: 1fr
    }

    .sub-gallery {
        grid-template-columns: 1fr 1fr
    }
}

@media(max-width:600px) {
    .sub-gallery {
        grid-template-columns: 1fr
    }

    .gallery-page {
        padding-top: 7rem
    }

    .sub-gallery .gallery-item {
        height: 320px
    }
}

/* Shop-Bereich */
.shop {
    max-width: 100%;
    background: linear-gradient(180deg, #0b1611, #13241b);
}

.shop .section-heading,
.shop-grid {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.shop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 360px));
    justify-content: center;
    gap: 1.5rem;
    padding: 0 1.5rem;
}

.shop-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 18px 40px rgba(0, 0, 0, .18);
}

.shop-card img {
    height: 230px;
    object-fit: cover;
}

.shop-card-content {
    padding: 1.4rem;
    display: flex;
    flex-direction: column;
    gap: .9rem;
    flex: 1;
}

.shop-category {
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: .75rem;
    font-weight: 700;
}

.shop-card h3 {
    font-size: 1.35rem;
    line-height: 1.15;
}

.shop-card p:not(.shop-category) {
    color: var(--muted);
}

.shop-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    margin-top: auto;
}

.shop-meta span {
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: .35rem .7rem;
    color: var(--muted);
    font-size: .85rem;
}

.shop-card .btn {
    width: max-content;
    margin-top: .3rem;
}

@media(max-width:600px) {
    .shop-grid {
        grid-template-columns: 1fr;
    }

    .shop-card img {
        height: 260px;
    }
}

@media(max-width:1050px) {
    .shop-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media(max-width:600px) {
    .shop-grid {
        grid-template-columns: 1fr
    }

    .shop-card img {
        height: 260px
    }
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  height: 55px;
  width: auto;
  display: block;
}

/* Coole Startseiten-Funktion */
.hero-content {
  animation: heroFadeUp 1.2s ease forwards;
}

@keyframes heroFadeUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll-Animation */
.section,
.shop-card,
.service-card,
.gallery-item,
.about-image,
.about-content {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.section.show,
.shop-card.show,
.service-card.show,
.gallery-item.show,
.about-image.show,
.about-content.show {
  opacity: 1;
  transform: translateY(0);
}

/* Schöner Hover-Effekt */
.gallery-item,
.shop-card,
.service-card {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.gallery-item:hover,
.shop-card:hover,
.service-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}

/* Neues Über mich Design */

.about-new {
    width: 100%;
}

.about-top {
    margin-bottom: 3rem;
}

.about-top h2 {
    max-width: 700px;
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1;
}

.about-layout {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr;
    gap: 5rem;
    align-items: center;
}

.about-text {
    max-width: 750px;
}

.about-intro {
    font-size: 1.3rem;
    color: var(--text);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.about-text p:not(.about-intro) {
    color: var(--muted);
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.about-image img {
    width: 100%;
    max-width: 320px;
    height: 420px;
    object-fit: cover;
    border-radius: 28px;
    box-shadow: 0 25px 60px rgba(0,0,0,0.35);
}

/* Stats schöner */

.stats {
    margin-top: 2.5rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.stats div {
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 1.4rem;
}

.stats strong {
    display: block;
    font-size: 2rem;
    color: var(--accent);
}

.stats span {
    color: var(--muted);
    font-size: .95rem;
}

/* Mobile */

@media(max-width:900px) {

    .about-layout {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-image {
        order: -1;
    }

    .about-image img {
        max-width: 240px;
        height: 320px;
    }
}

@media(max-width:600px) {

    .stats {
        grid-template-columns: 1fr;
    }

    .about-top h2 {
        line-height: 1.1;
    }

    .about-intro {
        font-size: 1.1rem;
    }
}

/* Social Bereich */

.social-section {
    text-align: center;
}

.social-grid {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 280px));
    justify-content: center;
    gap: 1.5rem;
}

.social-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 2rem;
    transition: 0.35s ease;
}

.social-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent);
}

.social-card h3 {
    color: var(--accent);
    margin-bottom: .7rem;
}

.social-card p {
    color: var(--muted);
}