/* =====================
   Font Faces
   ===================== */

@font-face {
    font-family: 'Playfair Display';
    src: url('font/Playfair_Display/PlayfairDisplay-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Playfair Display';
    src: url('font/Playfair_Display/PlayfairDisplay-Italic-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('font/Inter/Inter-VariableFont_opsz,wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('font/Inter/Inter-Italic-VariableFont_opsz,wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}

/* =====================
   Reset & Base
   ===================== */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 112px;
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #f5f2ee;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    line-height: 1.15;
}

em {
    font-style: italic;
    color: #1b6b6b;
}

img {
    max-width: 100%;
    display: block;
}

ul {
    list-style: none;
}

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

/* =====================
   Layout
   ===================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2.5rem;
}

/* =====================
   Buttons
   ===================== */

.btn {
    display: inline-block;
    position: relative;
    padding: 0.9rem 2.2rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    border: 1.5px solid transparent;
    border-radius: 5px;
    overflow: hidden;
    z-index: 1;
    transition: background-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}

.btn::before, .btn::after,
.btn span::before, .btn span::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0);
    transform: translate(-50%, -50%) scale(0);
    z-index: -1;
    transition: all 0.5s ease;
    border: 2px solid rgba(255, 255, 255, 0.25);
    opacity: 0;
}

.btn::before { transition-delay: 0s, 0.2s; }
.btn::after  { transition-delay: 0.2s, 0s; }
.btn span::before { transition-delay: 0.4s, 0s; }
.btn span::after  { transition-delay: 0.6s, 0s; }

.btn:hover::before { animation: btn-ripple 1.5s infinite; animation-delay: 0s; }
.btn:hover::after  { animation: btn-ripple 1.5s infinite; animation-delay: 0.3s; }
.btn:hover span::before { animation: btn-ripple 1.5s infinite; animation-delay: 0.6s; }
.btn:hover span::after  { animation: btn-ripple 1.5s infinite; animation-delay: 0.9s; }

.btn:active { transform: scale(0.96); }

@keyframes btn-ripple {
    0%   { transform: translate(-50%, -50%) scale(0); opacity: 1; border-width: 2px; }
    100% { transform: translate(-50%, -50%) scale(6); opacity: 0; border-width: 0; }
}

.btn--primary {
    background-color: #1b6b6b;
    color: #ffffff;
    border-color: #1b6b6b;
}

.btn--primary:hover {
    background-color: #155555;
    box-shadow: 0 5px 15px rgba(27, 107, 107, 0.4);
}

.btn--ghost {
    background-color: transparent;
    color: #f5f2ee;
    border-color: rgba(245, 242, 238, 0.5);
}

.btn--ghost:hover {
    border-color: #f5f2ee;
    background-color: rgba(245, 242, 238, 0.08);
    box-shadow: 0 5px 15px rgba(245, 242, 238, 0.1);
}

.btn--light {
    background-color: #f5f2ee;
    color: #1a1a1a;
    border-color: #f5f2ee;
}

.btn--light::before, .btn--light::after,
.btn--light span::before, .btn--light span::after {
    border-color: rgba(27, 107, 107, 0.3);
}

.btn--light:hover {
    background-color: #e8e4dd;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
}

/* =====================
   Section Shared
   ===================== */

.section__label {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #1b6b6b;
    margin-bottom: 1.25rem;
}

.section__label--light {
    color: rgba(245, 242, 238, 0.6);
}

.section__title {
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.section__header {
    margin-bottom: 4rem;
}

/* =====================
   Header & Navigation
   ===================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 253, 250, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(26, 26, 26, 0.08);
    z-index: 100;
}

.nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.nav__logo img {
    height: 100px;
    width: auto;
    transform: translateX(-45px);
}

.nav__links {
    display: flex;
    gap: 2.5rem;
}

.nav__links a {
    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: #555555;
    text-decoration: none;
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    z-index: 1;
    overflow: hidden;
    transition: color 0.3s ease;
}

.nav__links a::before,
.nav__links a::after {
    content: '';
    position: absolute;
    background-color: rgba(27, 107, 107, 0.15);
    width: 0%;
    height: 100%;
    top: 0;
    transition: width 0.4s ease-in-out;
    z-index: -1;
}

.nav__links a::before {
    left: 50%;
    transform: translateX(-50%);
    border-radius: 5px;
}

.nav__links a::after {
    right: 50%;
    transform: translateX(50%);
    border-radius: 5px;
}

.nav__links a:hover {
    color: #1a1a1a;
}

.nav__links a:hover::before,
.nav__links a:hover::after {
    width: 100%;
}

.nav__cta {
    position: relative;
    background-color: #1b6b6b;
    color: #ffffff;
    border: 1.5px solid #1b6b6b;
    padding: 0.6rem 1.4rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 5px;
    overflow: hidden;
    z-index: 1;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.nav__cta::before, .nav__cta::after,
.nav__cta span::before, .nav__cta span::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    z-index: -1;
    border: 2px solid rgba(255, 255, 255, 0.25);
    opacity: 0;
}

.nav__cta:hover { background-color: #155555; box-shadow: 0 5px 15px rgba(27, 107, 107, 0.4); }
.nav__cta:active { transform: scale(0.96); }

.nav__cta:hover::before { animation: btn-ripple 1.5s infinite; animation-delay: 0s; }
.nav__cta:hover::after  { animation: btn-ripple 1.5s infinite; animation-delay: 0.3s; }
.nav__cta:hover span::before { animation: btn-ripple 1.5s infinite; animation-delay: 0.6s; }
.nav__cta:hover span::after  { animation: btn-ripple 1.5s infinite; animation-delay: 0.9s; }

/* =====================
   Hero
   ===================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10rem 2.5rem 6rem;
    background-color: #0f1c1c;
    background-image: linear-gradient(rgba(15, 28, 28, 0.72), rgba(15, 28, 28, 0.72)), url('img/sakoki-3d-druck-vasen-bemalt-pfau-fee-koi-garten.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    text-align: center;
}

.hero__deco {
    position: absolute;
    right: -0.05em;
    bottom: -0.15em;
    font-family: 'Playfair Display', serif;
    font-size: clamp(12rem, 28vw, 22rem);
    font-weight: 900;
    font-style: italic;
    color: transparent;
    -webkit-text-stroke: 1px rgba(27, 107, 107, 0.25);
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

.hero__content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero .section__label {
    color: #1b6b6b;
    margin-bottom: 1.5rem;
}

.hero__title {
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 800;
    color: #f5f2ee;
    margin-bottom: 1.75rem;
    line-height: 1.05;
}

.hero__title em {
    color: #4eb5b5;
    font-style: italic;
}

.hero__subtitle {
    font-size: 1.1rem;
    color: rgba(245, 242, 238, 0.65);
    max-width: 540px;
    margin: 0 auto 2.75rem;
    line-height: 1.7;
}

.hero__actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.hero__scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero__scroll span {
    display: block;
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, rgba(245, 242, 238, 0.6), transparent);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0% { opacity: 1; transform: scaleY(1) translateY(0); }
    100% { opacity: 0; transform: scaleY(0.5) translateY(20px); }
}

/* =====================
   Leistungen
   ===================== */

.leistungen {
    padding: 8rem 0;
    background-color: #f5f2ee;
}

.leistungen__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    border-left: 1px solid rgba(26, 26, 26, 0.12);
}

.karte {
    display: block;
    padding: 2.5rem 2rem;
    border-right: 1px solid rgba(26, 26, 26, 0.12);
    border-top: 1px solid rgba(26, 26, 26, 0.12);
    border-bottom: 1px solid rgba(26, 26, 26, 0.12);
    transition: background-color 0.3s;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.karte::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background-color: #1b6b6b;
    transition: width 0.35s ease;
}

.karte:hover::before {
    width: 100%;
}

.karte:hover {
    background-color: #eeeae4;
}

.karte__num {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    font-weight: 700;
    font-style: italic;
    color: rgba(26, 26, 26, 0.1);
    line-height: 1;
    margin-bottom: 1.5rem;
}

.karte h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: #1a1a1a;
}

.karte p {
    color: #666666;
    font-size: 0.9rem;
    line-height: 1.65;
}

.karte__arrow {
    display: none;
    margin-top: 1.25rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #1b6b6b;
}

@media (max-width: 1060px) {
    .karte__arrow {
        display: block;
    }
}

/* =====================
   Über uns
   ===================== */

.ueber-uns {
    background-color: #0f1c1c;
    overflow: hidden;
    position: relative;
}


.ueber-uns__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.ueber-uns__bild {
    background-color: #0f1c1c;
    padding: 2rem;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ueber-uns__bild img {
    width: 100%;
    object-fit: cover;
    display: block;
    border-radius: 5px;
}

.ueber-uns__text {
    padding: 6rem 5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.ueber-uns__text .section__title {
    color: #f5f2ee;
    margin-bottom: 1.5rem;
}

.ueber-uns__text em {
    color: #4eb5b5;
}

.ueber-uns__text p {
    color: rgba(245, 242, 238, 0.65);
    margin-bottom: 1.25rem;
    line-height: 1.7;
}

/* =====================
   Projekte
   ===================== */

.projekte {
    padding: 8rem 0;
    background-color: #f5f2ee;
}

.galerie__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 260px;
    gap: 0.75rem;
}

.galerie__item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    background-color: #d8d3cb;
}

.galerie__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.galerie__item:hover img {
    transform: scale(1.07);
}

.galerie__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 28, 28, 0.72) 0%, transparent 55%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 1.25rem;
}

.galerie__item:hover .galerie__overlay {
    opacity: 1;
}

.galerie__overlay span {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #f5f2ee;
}

/* =====================
   Kontakt
   ===================== */

.kontakt {
    background-color: #0f1c1c;
    padding: 0;
}

.kontakt__inner {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    min-height: 600px;
    max-width: 1200px;
    margin: 0 auto;
}

.kontakt__text {
    padding: 6rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-right: 1px solid rgba(245, 242, 238, 0.1);
}

.kontakt__text .section__title {
    color: #f5f2ee;
    margin-bottom: 1.25rem;
}

.kontakt__text em {
    color: #4eb5b5;
}

.kontakt__text p {
    color: rgba(245, 242, 238, 0.55);
    line-height: 1.7;
}

.kontakt__form {
    padding: 6rem 4rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
}

.form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.kontakt__form input,
.kontakt__form textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    background-color: rgba(245, 242, 238, 0.06);
    border: 1px solid rgba(245, 242, 238, 0.15);
    border-radius: 5px;
    color: #f5f2ee;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    transition: border-color 0.2s;
}

.kontakt__form input::placeholder,
.kontakt__form textarea::placeholder {
    color: rgba(245, 242, 238, 0.35);
}

.kontakt__form input:focus,
.kontakt__form textarea:focus {
    outline: none;
    border-color: #1b6b6b;
}

.kontakt__form textarea {
    resize: none;
}

/* =====================
   Lightbox
   ===================== */

.lightbox {
    position: fixed;
    inset: 0;
    z-index: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.lightbox.is-open {
    opacity: 1;
    pointer-events: all;
}

.lightbox__backdrop {
    position: absolute;
    inset: 0;
    background-color: rgba(10, 18, 18, 0.95);
    cursor: zoom-out;
}

.lightbox__content {
    position: relative;
    z-index: 1;
    max-width: 90vw;
    max-height: 88vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.lightbox__content img {
    max-width: 90vw;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6);
    transform: scale(0.95);
    transition: transform 0.3s ease;
    display: block;
}

.lightbox.is-open .lightbox__content img {
    transform: scale(1);
}

.lightbox__caption {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(245, 242, 238, 0.55);
}

.lightbox__close {
    position: fixed;
    top: 1.5rem;
    right: 1.75rem;
    z-index: 2;
    background: rgba(245, 242, 238, 0.1);
    border: 1px solid rgba(245, 242, 238, 0.2);
    color: #f5f2ee;
    font-size: 1rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.lightbox__close:hover {
    background: rgba(245, 242, 238, 0.2);
}

.lightbox__nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    background: rgba(245, 242, 238, 0.1);
    border: 1px solid rgba(245, 242, 238, 0.2);
    color: #f5f2ee;
    font-size: 1.25rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.lightbox__nav:hover {
    background: rgba(245, 242, 238, 0.2);
}

.lightbox__nav--prev { left: 1.5rem; }
.lightbox__nav--next { right: 1.5rem; }

.lightbox__counter {
    position: fixed;
    bottom: 1.75rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(245, 242, 238, 0.45);
    letter-spacing: 0.08em;
}

/* =====================
   Footer
   ===================== */

.footer {
    background-color: #1b6b6b;
    color: #d4eeee;
    padding: 2rem 0;
}

.footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer__logo {
    height: 64px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.85;
}

.footer__copy {
    font-size: 0.85rem;
    color: rgba(212, 238, 238, 0.7);
}

.footer__nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.footer__nav a {
    font-size: 0.85rem;
    color: rgba(212, 238, 238, 0.7);
    transition: color 0.2s;
}

.footer__nav a:hover {
    color: #ffffff;
}

.social__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1.5px solid rgba(212, 238, 238, 0.4);
    color: rgba(212, 238, 238, 0.7);
    transition: border-color 0.2s, color 0.2s, background-color 0.2s;
    flex-shrink: 0;
}

.social__icon:hover {
    border-color: #ffffff;
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.1);
}

.nav__social {
    display: flex;
    align-items: center;
    align-self: center;
}

.nav__social .social__icon {
    border-color: rgba(26, 26, 26, 0.25);
    color: #555555;
}

.nav__social .social__icon:hover {
    border-color: #1b6b6b;
    color: #1b6b6b;
    background-color: rgba(27, 107, 107, 0.08);
}

/* =====================
   Dropdown Navigation
   ===================== */

.nav__dropdown {
    position: relative;
}

.nav__chevron {
    display: inline-block;
    font-size: 0.65rem;
    margin-left: 4px;
    transition: transform 0.25s ease;
    vertical-align: middle;
    line-height: 1;
}

.nav__dropdown:hover .nav__chevron {
    transform: rotate(180deg);
}

.nav__submenu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-6px);
    background-color: rgba(255, 253, 250, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(26, 26, 26, 0.08);
    border-top: 2px solid #1b6b6b;
    border-radius: 0 0 6px 6px;
    min-width: 210px;
    padding: 0.4rem 0;
    list-style: none;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
    z-index: 200;
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

.nav__dropdown:hover .nav__submenu {
    opacity: 1;
    pointer-events: all;
    transform: translateX(-50%) translateY(0);
}

/* Override the 3D hover effect from .nav__links a for submenu links */
.nav__links .nav__submenu a {
    display: block;
    padding: 0.65rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: #555555;
    border-radius: 0;
    overflow: visible;
    perspective: none;
    transition: color 0.2s, background-color 0.2s;
}

.nav__links .nav__submenu a::before,
.nav__links .nav__submenu a::after {
    display: none;
}

.nav__links .nav__submenu a:hover {
    color: #1b6b6b;
    background-color: rgba(27, 107, 107, 0.06);
}

/* =====================
   Burger & Mobile Menu
   ===================== */

.nav__burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 36px;
    height: 36px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.nav__burger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #1a1a1a;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
}

.nav__burger.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav__burger.is-open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nav__burger.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f5f2ee;
    z-index: 99;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 130px;
    gap: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.mobile-menu.is-open {
    display: flex;
    opacity: 1;
    pointer-events: all;
}

.mobile-menu__links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    width: 100%;
    max-width: 320px;
}

.mobile-menu__links li {
    width: 100%;
    text-align: center;
}

.mobile-menu__links li:not(:last-child) {
    border-bottom: 1px solid rgba(26, 26, 26, 0.1);
}

.mobile-menu__links a {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    font-weight: 400;
    color: #555555;
    padding: 0.75rem 1rem;
    transition: color 0.2s;
}

.mobile-menu__links a:hover {
    color: #1b6b6b;
}

/* =====================
   Responsive
   ===================== */

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

@media (max-width: 1060px) {
    .nav__links,
    .nav__cta {
        display: none;
    }

    .nav__burger {
        display: flex;
        margin-left: auto;
    }

    .nav {
        position: relative;
        justify-content: space-between;
        min-height: 100px;
    }

    .nav__logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
    }

    .nav__logo img {
        transform: translateX(0);
    }
}

@media (max-width: 768px) {

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

    .ueber-uns__inner {
        grid-template-columns: 1fr;
    }

    .ueber-uns__text {
        padding: 4rem 2.5rem;
    }

    .galerie__grid {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 220px;
    }

    .galerie__grid .galerie__item {
        grid-column: auto !important;
        grid-row: auto !important;
    }

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

    .kontakt__text {
        padding: 4rem 2.5rem 2rem;
        border-right: none;
        border-bottom: 1px solid rgba(245, 242, 238, 0.1);
    }

    .kontakt__form {
        padding: 2rem 2.5rem 4rem;
    }

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

    .footer__inner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 430px) {
    .hero__title {
        font-size: clamp(1.5rem, 7.5vw, 2.2rem);
    }

    .hero__subtitle {
        font-size: 0.9rem;
    }
}
