@font-face {
    font-family: "Satoshi";
    src: url("fonts/Satoshi-Regular.otf") format("opentype");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Satoshi";
    src: url("fonts/Satoshi-Medium.otf") format("opentype");
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: "Satoshi";
    src: url("fonts/Satoshi-Bold.otf") format("opentype");
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: "Satoshi";
    src: url("fonts/Satoshi-Light.otf") format("opentype");
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: "Satoshi";
    src: url("fonts/Satoshi-Black.otf") format("opentype");
    font-weight: 900;
    font-style: normal;
}

:root {
    --bg-beige: #f2e3cf; /* Fallback-Hintergrund */
    --text-main: #f5f5f5;
    --accent: #f5f5f5;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    width: 100%;
    height: 100%;
}


body {
    font-family: "Satoshi", sans-serif;
    background-color: #000; /* neutraler Fallback, kein Beige-Durchscheinen */
    color: var(--text-main);
    overflow-x: hidden;
    overflow-y: auto;
    opacity: 1;
    transition: opacity 0.32s ease, transform 0.32s ease;
}

body.page-is-entering,
body.page-is-leaving {
    opacity: 0;
    transform: translateY(8px);
}

.page {
    position: relative;
    width: 100%;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-image: url("background.png");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

/* evtl. leichtes Overlay für bessere Lesbarkeit */
.page::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.15); /* bei Bedarf anpassen oder entfernen */
    pointer-events: none;
}

/* Hamburger links oben */
.burger {
    position: absolute;
    top: 24px;
    left: 24px;
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    cursor: pointer;
    z-index: 10;
}

.burger-lines {
    width: 26px;
    height: 18px;
    position: relative;
    margin: auto;
}

.burger-lines span {
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    border-radius: 999px;
    background: var(--accent);
    transition: transform 0.25s ease, opacity 0.25s ease, top 0.25s ease, bottom 0.25s ease;
}

.burger-lines span:nth-child(1) { top: 0; }
.burger-lines span:nth-child(2) { top: 8px; }
.burger-lines span:nth-child(3) { bottom: 0; }

.burger.open .burger-lines span:nth-child(1) {
    top: 8px;
    transform: rotate(45deg);
}
.burger.open .burger-lines span:nth-child(2) {
    opacity: 0;
}
.burger.open .burger-lines span:nth-child(3) {
    bottom: 8px;
    transform: rotate(-45deg);
}

/* Zentrum wie im Screenshot */
.center-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -55%);
    text-align: center;
    z-index: 1;
}

.center-logo {
    max-width: min(420px, 70vw);
    margin: 0 auto 24px;
}

.center-logo img {
    display: block;
    width: 100%;
    height: auto;
}

.center-tagline {
    font-size: 1.1rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.center-tagline span.strong {
    font-weight: 600;
}

.center-title {
    font-size: 1.2rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

/* Unten Elemente wie im Screenshot */
/* Footer-Inhalt allgemein */
.bottom-logo img {
    height: auto;
    width: 100px;
}

.bottom-logo {
    justify-self: start;
}

.mail-button {
    justify-self: end;
}

.bottom-contact {
    font-size: 0.8rem;
    letter-spacing: 0.12em;
    line-height: 1.6;
}

.contact-col {
    display: flex;
    flex-direction: column;
}

.contact-col.left {
    text-align: left;
    font-family: "Satoshi", sans-serif;
}

.contact-col.right {
    text-align: right;
    font-family: "Satoshi", sans-serif;
}

.bottom-contact span {
    display: block;
    font-family: "Satoshi", sans-serif;
}

.bottom-contact a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid rgba(245,245,245,0.6);
    padding-bottom: 2px;
}

.bottom-contact a:hover {
    border-bottom-color: #73746e;
    color: #73746e;
}

.mail-button {
    position: relative;
    display: inline-block;
    background: transparent;
    font-size: 0.9rem;
    letter-spacing: 0.25em;
    cursor: pointer;
    text-decoration: none;
    color: var(--text-main);
    z-index: 5;
    overflow: hidden;
    font-family: "Satoshi", sans-serif;
}

.mail-button:hover {
    color: #73746e; /* deine gewünschte Farbe */
    
}


.mail-button::before {
    content: "";
    position: absolute;
    left: -8px;
    right: -8px;
    top: -4px;
    bottom: -4px;
    border-top: 1px solid transparent;
    border-bottom: 1px solid transparent;
    opacity: 0;
    transition: opacity 0.2s ease, border-color 0.2s ease;
    pointer-events: none;
}

.mail-button:hover::before {
    opacity: 1;
    border-top-color: #73746e;
    border-bottom-color: #73746e;
}



/* Overlay-Menü */

.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.9);
    color: #f5f0e6;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: scale(0.985);
    transition:
        opacity 0.32s ease,
        transform 0.32s ease,
        visibility 0s linear 0.32s;
}

.nav-overlay.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: scale(1);
    transition:
        opacity 0.32s ease,
        transform 0.32s ease,
        visibility 0s linear 0s;
}

.nav-main li,
.nav-legal li {
    opacity: 0;
    transform: translateY(14px);
    filter: blur(4px);
    transition:
        opacity 0.45s ease,
        transform 0.45s ease,
        filter 0.45s ease;
}

.nav-overlay.open .nav-main li,
.nav-overlay.open .nav-legal li {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

.nav-overlay.open .nav-main li:nth-child(1) { transition-delay: 0.08s; }
.nav-overlay.open .nav-main li:nth-child(2) { transition-delay: 0.14s; }
.nav-overlay.open .nav-main li:nth-child(3) { transition-delay: 0.20s; }
.nav-overlay.open .nav-main li:nth-child(4) { transition-delay: 0.26s; }

.nav-overlay.open .nav-legal li:nth-child(1) { transition-delay: 0.34s; }
.nav-overlay.open .nav-legal li:nth-child(2) { transition-delay: 0.38s; }


.nav-inner {
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-size: 0.9rem;
}

.nav-inner ul,
.nav-main,
.nav-legal {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-inner a {
    text-decoration: none;
    color: inherit;
    opacity: 0.9;
}

.nav-inner a:hover {
    opacity: 1;
    color: #73746e;
}

.nav-inner a.is-active::before {
    width: 3px;
    height: 3px;
    background: rgba(255,255,255,0.7);
}

/* =========================
   Overlay Navigation Split
========================= */
.nav-inner--split {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 80px 24px 48px;
    box-sizing: border-box;
}

.nav-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.nav-legal {
    position: absolute;
    left: 50%;
    bottom: 42px;
    transform: translateX(-50%);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 28px;
    white-space: nowrap;
}

.nav-legal a {
    font-size: 0.92em;
    opacity: 0.68;
    transition: opacity 0.2s ease;
}

.nav-legal a:hover {
    opacity: 1;
}

.nav-legal li {
    display: inline-flex;
    margin: 0;
    padding: 0;
}



/* --- NEUER FOOTER-BALKEN --- */

.page-footer {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr) 170px;
    align-items: end;
    column-gap: 40px;
    padding: 18px 48px 26px;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    z-index: 5;
    margin-top: auto;
}

.page-footer .bottom-logo,
.page-footer .bottom-contact,
.page-footer .mail-button {
    position: static;
    transform: none;
}

.page-footer .bottom-logo {
    justify-self: start;
}

.page-footer .mail-button {
    justify-self: end;
    white-space: nowrap;
}

.page-footer .bottom-contact {
    display: flex;
    justify-content: center;
    align-items: end;
    gap: clamp(40px, 15vw, 300px);
    width: 100%;
}

.page-footer .contact-col.left {
    
    text-align: left; /* Ändere das auf 'left', falls du den Text lieber linksbündig magst */
}

.page-footer .contact-col.right {
    
    text-align: right; 
}

/* Mobile Footer */
@media (max-width: 768px) {
    .page-footer {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 14px;
        padding: 16px 18px 20px;
    }

    .page-footer .bottom-logo img {
        width: 90px;
    }

    .page-footer .bottom-contact {
        display: flex;
        flex-direction: column; /* 👈 Setzt die beiden Blöcke auf dem Handy untereinander */
        align-items: center;    /* 👈 Zentriert sie schön mittig */
        gap: 12px;              /* 👈 Ein kleiner, fester Abstand fürs Handy reicht hier völlig */
        width: 100%;
    }

    .page-footer .contact-col.left,
    .page-footer .contact-col.right {
        text-align: center;
        justify-self: auto;
    }

    .page-footer .mail-button {
        letter-spacing: 0.18em;
        padding: 0;
    }
}

.page.page-contact {
    background-image: url("background_dunkel.png");
}

.page.page-datenschutz,
.page.page-impressum {
    background-image: url("background_dunkel.png");
    background-repeat: repeat;          /* gewollt */
    background-position: center top;
    background-size: 100%;              /* entspricht deinem bisherigen Look */
}

/* --- ABOUT PAGE --- */


/* Pfeile */
.slide-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.4);
    border: none;
    color: #f5f5f5;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide-nav.prev {
    left: 12px;
}

.slide-nav.next {
    right: 12px;
}

.slide-nav:hover {
    background: rgba(0,0,0,0.7);
}

/* Dots */
.slide-dots {
    position: absolute;
    left: 50%;
    bottom: 120px;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.slide-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 999px;
    border: 1.6px solid rgba(255,255,255,0.85);
    background: rgba(255,255,255,0.15);
    cursor: pointer;
    transition: all 0.25s ease;
}

.slide-dots .dot:hover {
    background: rgba(255,255,255,0.35);
}

.slide-dots .dot.active {
    background: #ffffff;
    transform: scale(1.3);   /* sichtbar aktiv */
}


/* --- CONTACT PAGE --- */

.contact-wrapper {
    position: relative;
    width: 80%;
    max-width: 1100px;
    margin: 0 auto 140px;  /* Platz nach unten bis zum Footer */
    padding-top: 120px;
    color: var(--text-main);
    font-family: "Satoshi", sans-serif;
    z-index: 2;
}

.contact-title {
    font-size: 2.2rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    font-weight: 500;
    margin-bottom: 6px;
    color: #73746e;
}

.contact-subtitle {
    font-size: 0.95rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.9;
    margin-bottom: 40px;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 40px;
}

.contact-text p {
    font-size: 0.98rem;
    line-height: 1.7;
    opacity: 0.9;
    margin-bottom: 14px;
}

.contact-info-block {
    margin-top: 30px;
}

.contact-info-block h2 {
    font-size: 0.95rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: #d5d1c8;
}

.contact-info-block ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-info-block li {
    font-size: 0.9rem;
    line-height: 1.6;
    opacity: 0.9;
}

.contact-info-block a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid rgba(245,245,245,0.5);
    padding-bottom: 2px;
}

.contact-info-block a:hover {
    color: #73746e;
    border-bottom-color: #73746e;
}

/* Formular */

.contact-form-wrapper {
    position: relative;
}

.contact-form {
    padding: 22px 24px 24px;
    background: rgba(0,0,0,0.6);
    border-radius: 6px;
    border: 1px solid rgba(255,255,255,0.15);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.form-row {
    margin-bottom: 16px;
}

.contact-form label {
    display: block;
    font-size: 0.85rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    margin-bottom: 6px;
    opacity: 0.9;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 9px 10px;
    border-radius: 0;
    border: 1px solid rgba(255,255,255,0.25);
    background: rgba(0,0,0,0.5);
    color: #f5f5f5;
    font-family: "Satoshi", sans-serif;
    font-size: 0.95rem;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(245,245,245,0.6);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #73746e;
}

.form-row.form-hint {
    font-size: 0.78rem;
    opacity: 0.7;
    margin-top: -4px;
}

.contact-submit {
    margin-top: 8px;
    padding: 10px 22px;
    border-radius: 0;
    border: 1px solid rgba(245,245,245,0.9);
    background: transparent;
    color: #f5f5f5;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-size: 0.8rem;
    cursor: pointer;
}

.contact-submit:hover {
    color: #73746e;
    border-color: #73746e;
}

/* Mobile Anpassung */
/* Mobile Anpassung */
@media (max-width: 768px) {

    /* Startseite / allgemeine Typo */
    .center-content {
        transform: translate(-50%, -50%);
    }

    .center-tagline {
        font-size: 0.9rem;
        letter-spacing: 0.16em;
    }

    .center-title {
        font-size: 1rem;
        letter-spacing: 0.18em;
    }    

    /* Dots etwas näher nach unten rücken, optional */
    .slide-dots {
        bottom: 80px;
    }

    /* --- SERVICES --- */
    .services-wrapper {
        top: 16%;
        width: 88%;
    }

    .services-title {
        font-size: 1.6rem;
        text-align: center;
    }

    .service-box h2 {
        font-size: 1rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr; /* Bricht Text und Formular untereinander um */
        gap: 32px; /* Etwas weniger Abstand zwischen den Elementen */
    }

    .contact-wrapper {
        width: 90%; /* Gibt dem Formular auf dem Handy etwas mehr Breite (statt 80%) */
        padding-top: 80px; /* Weniger Abstand nach oben, damit man nicht so viel scrollen muss */
        margin-bottom: 80px; /* Weniger Abstand zum Footer */
    }

    .contact-title {
        font-size: 1.8rem; /* Überschrift auf dem Handy minimal verkleinern */
    }
}

body.menu-open { overflow: hidden; }

@media (max-width: 640px){
  .nav-inner--split{
    padding: 72px 20px 34px;
  }

  .nav-main{
    gap: 14px;
  }

  .nav-main a{
    font-size: 1.05rem;
  }

  .nav-legal{
    bottom: 26px;
    gap: 8px;
  }

  .nav-legal a{
    font-size: 0.76rem;
  }
}