/* =========================================================

   BRAUNweb & design — MAIN STYLE

   Premium / Tech

   ========================================================= */



/* =========================================================

   RESET

   ========================================================= */

* {

    margin: 0;

    padding: 0;

    box-sizing: border-box;

}

html {

    scroll-behavior: smooth;

}

body {

    font-family: "Inter", Arial, sans-serif;

    background: #0b0f14;

    color: #ffffff;

    line-height: 1.6;

    opacity: 0;

    transition: opacity 0.45s ease;

}

body.page-loaded {

    opacity: 1;

}

img {

    max-width: 100%;

    display: block;

}

a {

    color: inherit;

    text-decoration: none;

}

button {

    font-family: inherit;

}

/* =========================================================
   ACCESSIBILITY — FOCUS
   ========================================================= */

a:focus-visible,
button:focus-visible,
summary:focus-visible {
    outline: 2px solid #FC6802;
    outline-offset: 3px;
}




/* =========================================================

   GLOBAL

   ========================================================= */

.container {

    width: min(1180px, 92%);

    margin: 0 auto;

}

.section {

    position: relative;

    padding: 110px 0;

    background: #0b0f14;

}

.section-alt {

    background: #0e1319;

}

.section-title {

    margin-bottom: 18px;

    font-size: clamp(2rem, 4vw, 3rem);

    line-height: 1.1;

    letter-spacing: -0.035em;

    color: #ffffff;

}

.section-subtitle {

    max-width: 720px;

    margin-bottom: 55px;

    color: #929ba6;

    font-size: 1rem;

}



/* =========================================================

   HEADER

   ========================================================= */

.header {

    position: sticky;

    top: 0;

    z-index: 1000;

    background: rgba(11, 15, 20, 0.78);

    border-bottom: 1px solid rgba(255, 255, 255, 0.06);

    backdrop-filter: blur(18px);

    -webkit-backdrop-filter: blur(18px);

}

.nav-container {

    min-height: 74px;

    display: flex;

    align-items: center;

    justify-content: space-between;

}



/* =========================================================

   LOGO — BRAUN / web & design

   ========================================================= */

.logo {

    display: flex;

    flex-direction: column;

    align-items: flex-start;

    justify-content: center;

    line-height: 1;

    transition:

        transform 0.2s ease,

        opacity 0.2s ease;

}

.logo span {

    color: #ffffff;

    font-size: 1.25rem;

    font-weight: 700;

    letter-spacing: 0.08em;

    transition: color 0.2s ease;

}

.logo small {

    margin-top: 5px;

    color: #FC6802;

    font-size: 0.62rem;

    font-weight: 600;

    letter-spacing: 0.08em;

    text-transform: lowercase;

    transition: color 0.2s ease;

}

.logo:hover {

    transform: translateY(-1px);

}

.logo:hover span {

    color: #ffffff;

}

.logo:hover small {

    color: #ffb66d;

}



/* =========================================================

   NAVIGATION

   ========================================================= */

.nav {

    display: flex;

    align-items: center;

    gap: 24px;

}

.nav > a {

    position: relative;

    color: #aeb6c0;

    font-size: 0.9rem;

    font-weight: 500;

    transition: color 0.2s ease;

}

.nav > a::after {

    content: "";

    position: absolute;

    left: 0;

    bottom: -7px;

    width: 0;

    height: 2px;

    background: #FC6802;

    border-radius: 20px;

    transition: width 0.2s ease;

}

.nav > a:hover {

    color: #ffffff;

}

.nav > a:hover::after {

    width: 100%;

}



/* =========================================================

   3-DOT MENU

   ========================================================= */

.menu-dropdown {

    position: relative;

}

.dots-btn {

    width: 34px;

    height: 34px;

    display: flex;

    align-items: center;

    justify-content: center;

    border: 1px solid rgba(255, 255, 255, 0.08);

    border-radius: 8px;

    background: rgba(255, 255, 255, 0.035);

    color: #aeb6c0;

    font-size: 1.3rem;

    line-height: 1;

    cursor: pointer;

    transition:

        background 0.2s ease,

        border-color 0.2s ease,

        color 0.2s ease,

        transform 0.2s ease;

}

.dots-btn:hover {

    background: rgba(255, 159, 67, 0.09);

    border-color: rgba(255, 159, 67, 0.4);

    color: #FC6802;

    transform: translateY(-1px);

}

.dropdown-content {

    position: absolute;

    top: calc(100% + 12px);

    right: 0;

    min-width: 230px;

    padding: 8px;

    background: rgba(15, 20, 27, 0.98);

    border: 1px solid rgba(255, 255, 255, 0.08);

    border-radius: 12px;

    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);

    opacity: 0;

    visibility: hidden;

    transform: translateY(-6px);

    transition:

        opacity 0.2s ease,

        visibility 0.2s ease,

        transform 0.2s ease;

}

.dropdown-content.show {

    opacity: 1;

    visibility: visible;

    transform: translateY(0);

}

.dropdown-content a {

    display: block;

    padding: 10px 12px;

    border-radius: 7px;

    color: #aeb6c0;

    font-size: 0.88rem;

    transition:

        background 0.2s ease,

        color 0.2s ease;

}

.dropdown-content a:hover {

    background: rgba(255, 159, 67, 0.08);

    color: #ffffff;

}

.dropdown-content hr {

    margin: 7px 4px;

    border: 0;

    border-top: 1px solid rgba(255, 255, 255, 0.07);

}



/* =========================================================

   LANGUAGE SWITCH

   ========================================================= */

.lang-switch {

    display: flex;

    align-items: center;

    gap: 6px;

    margin-left: 2px;

    color: #8f99a4;

}

.lang-button {

    min-width: 38px;

    height: 32px;

    display: flex;

    align-items: center;

    justify-content: center;

    padding: 0 9px;

    border: 1px solid rgba(255, 255, 255, 0.08);

    border-radius: 8px;

    background: rgba(255, 255, 255, 0.035);

    color: #8f99a4;

    font-size: 0.75rem;

    font-weight: 600;

    letter-spacing: 0.04em;

    cursor: pointer;

    opacity: 1;

    transition:

        background 0.2s ease,

        border-color 0.2s ease,

        color 0.2s ease,

        opacity 0.2s ease,

        transform 0.2s ease;

}

.lang-button:hover {

    opacity: 1;

    background: rgba(255, 159, 67, 0.08);

    border-color: rgba(255, 159, 67, 0.35);

    color: #FC6802;

    transform: translateY(-1px);

}

.lang-button.active {

    opacity: 1;

    background: rgba(255, 159, 67, 0.14);

    border-color: rgba(255, 159, 67, 0.65);

    color: #ffffff;

    box-shadow: 0 0 12px rgba(255, 159, 67, 0.12);

}




/* =========================================================
   HERO
   ========================================================= */

.hero {
    position: relative;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;

    /* Dunkler Hintergrund ohne orangefarbenen Schein */
    background: #0b0f14;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;

    /* Dezentes Gitternetz bleibt erhalten */
    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.025) 1px,
            transparent 1px
        );

    background-size: 50px 50px;

    mask-image: linear-gradient(
        to bottom,
        black,
        transparent 85%
    );

    pointer-events: none;
}

/* Kein zusätzlicher orangefarbener Lichtschein */
.hero::after {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: transparent;
    filter: none;
    pointer-events: none;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: transparent;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 760px;

    transition:
        opacity 0.8s ease,
        transform 0.8s ease;
}

body:not(.page-loaded) .hero-content {
    opacity: 0;
    transform: translateY(12px);
}

body.page-loaded .hero-content {
    opacity: 1;
    transform: translateY(0);
}

.hero h1 {
    margin-bottom: 24px;
    font-size: clamp(2.7rem, 7vw, 5.3rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
    color: #ffffff;
}

.hero h1::after {
    content: "";
    display: block;
    width: 70px;
    height: 4px;
    margin-top: 25px;
    border-radius: 20px;

    /* Orange Akzentlinie unter der Überschrift bleibt */
    background: #FC6802;
    box-shadow: 0 0 20px rgba(255, 159, 67, 0.35);
}

.hero p {
    max-width: 650px;
    margin-bottom: 35px;
    color: #aeb6c0;
    font-size: 1.08rem;
}



/* =========================================================

   BUTTONS

   ========================================================= */

.btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    min-height: 46px;

    padding: 0 22px;

    border-radius: 9px;

    font-size: 0.9rem;

    font-weight: 600;

    cursor: pointer;

    transition:

        transform 0.2s ease,

        background 0.2s ease,

        border-color 0.2s ease,

        box-shadow 0.2s ease;

}


/* =========================================================
   BUTTONS — BRAUNWEB & DESIGN
   ========================================================= */

.btn-primary {
    background: #FC6802;
    color: #111111;
    box-shadow: 0 8px 25px rgba(252, 104, 2, 0.15);
}

.btn-primary:hover {
    background: #FF841F;
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(252, 104, 2, 0.25);
}


.btn-link {

    display: inline-flex;

    align-items: center;

    margin-top: 18px;

    color: #FC6802;

    font-size: 0.9rem;

    font-weight: 600;

    transition:

        color 0.2s ease,

        transform 0.2s ease;

}

.btn-link:hover {

    color: #ffb66d;

    transform: translateX(3px);

}



/* =========================================================

   SERVICE CARDS

   ========================================================= */

.services-grid {

    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 22px;

}

.service-card {

    position: relative;

    padding: 30px;

    background: #11171e;

    border: 1px solid rgba(255, 255, 255, 0.07);

    border-radius: 14px;

    overflow: hidden;

    transition:

        transform 0.25s ease,

        border-color 0.25s ease,

        box-shadow 0.25s ease;

}

.service-card::before {

    content: "";

    position: absolute;

    left: 0;

    top: 0;

    width: 100%;

    height: 2px;

    background:

        linear-gradient(

            90deg,

            transparent,

            rgba(255, 159, 67, 0.65),

            transparent

        );

    opacity: 0;

    transition: opacity 0.25s ease;

}

.service-card:hover {

    transform: translateY(-4px);

    border-color: rgba(255, 159, 67, 0.25);

    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);

}

.service-card:hover::before {

    opacity: 1;

}

.service-icon {

    width: 48px;

    height: 48px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 20px;

    border-radius: 11px;

    background: rgba(255, 159, 67, 0.09);

    font-size: 1.4rem;

}

.service-card h3 {

    margin-bottom: 13px;

    font-size: 1.2rem;

    color: #ffffff;

}

.service-card p {

    margin-bottom: 10px;

    color: #8f99a4;

    font-size: 0.92rem;

}



/* =========================================================

   WHY / FEATURE CARDS

   ========================================================= */

.why-grid {

    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 22px;

}

.why-card {

    padding: 28px;

    background: rgba(255, 255, 255, 0.018);

    border: 1px solid rgba(255, 255, 255, 0.06);

    border-radius: 13px;

    transition:

        transform 0.25s ease,

        border-color 0.25s ease,

        background 0.25s ease;

}

.why-card:hover {

    transform: translateY(-3px);

    background: rgba(255, 255, 255, 0.025);

    border-color: rgba(255, 159, 67, 0.2);

}

.why-icon {

    margin-bottom: 17px;

    font-size: 1.45rem;

}

.why-card h3 {

    margin-bottom: 10px;

    font-size: 1.05rem;

    color: #ffffff;

}

.why-card p {

    color: #89939e;

    font-size: 0.9rem;

}



/* =========================================================

   PROCESS / STEPS

   ========================================================= */

.steps-grid {

    display: grid;

    grid-template-columns: repeat(5, minmax(0, 1fr));

    gap: 18px;

}

.step {

    position: relative;

    padding: 25px 20px;

    border-top: 1px solid rgba(255, 255, 255, 0.09);

}

.step-number {

    margin-bottom: 18px;

    color: #FC6802;

    font-size: 0.8rem;

    font-weight: 700;

    letter-spacing: 0.08em;

}

.step h3 {

    margin-bottom: 10px;

    font-size: 1rem;

}

.step p {

    color: #89939e;

    font-size: 0.87rem;

}



/* =========================================================

   FAQ

   ========================================================= */

.faq-container {

    max-width: 850px;

}

.faq-container details {

    border-top: 1px solid rgba(255, 255, 255, 0.08);

}

.faq-container details:last-child {

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);

}

.faq-container summary {

    position: relative;

    padding: 22px 42px 22px 0;

    color: #ffffff;

    font-size: 0.98rem;

    font-weight: 600;

    cursor: pointer;

    list-style: none;

}

.faq-container summary::-webkit-details-marker {

    display: none;

}

.faq-container summary::after {

    content: "+";

    position: absolute;

    right: 0;

    top: 50%;

    transform: translateY(-50%);

    color: #FC6802;

    font-size: 1.3rem;

    font-weight: 400;

    transition: transform 0.2s ease;

}

.faq-container details[open] summary::after {

    transform:

        translateY(-50%)

        rotate(45deg);

}

.faq-container details p {

    max-width: 760px;

    padding: 0 40px 24px 0;

    color: #8e98a3;

    font-size: 0.92rem;

}



/* =========================================================

   CONTACT

   ========================================================= */

.contact-grid {

    display: flex;

    justify-content: center;

    width: 100%;

}

.contact-info {

    width: min(620px, 100%);

    padding: 30px;

    background: #11171e;

    border: 1px solid rgba(255, 255, 255, 0.07);

    border-radius: 14px;

    text-align: left;

}

.contact-info h3 {

    margin-bottom: 28px;

    font-size: 1.35rem;

}

.info-item {

    padding: 17px 0;

    border-top: 1px solid rgba(255, 255, 255, 0.07);

}

.info-item:first-of-type {

    border-top: 0;

    padding-top: 0;

}

.info-item strong {

    display: block;

    margin-bottom: 5px;

    color: #ffffff;

    font-size: 0.85rem;

}

.info-item p {

    color: #8f99a4;

    font-size: 0.9rem;

}

.info-item a {

    color: #FC6802;

    transition: color 0.2s ease;

}

.info-item a:hover {

    color: #ffb66d;

}

/* =========================================================

   Abo CTA

   ========================================================= */

.cta {

    text-align: center;

}

.cta h2 {

    margin-bottom: 16px;

}

.cta p {

    max-width: 600px;

    margin: 0 auto 30px;

    color: #929ba6;

}

.cta .btn {

    display: inline-flex;

}

/* =========================================================

   LARGE CTA

   ========================================================= */

.cta-section {

    position: relative;

    padding: 120px 0;

    text-align: center;

    overflow: hidden;

    background:

        radial-gradient(

            circle at center,

            rgba(255, 159, 67, 0.13),

            transparent 55%

        ),

        #0b0f14;

    border-top: 1px solid rgba(255, 255, 255, 0.05);

}

.cta-section::before {

    content: "";

    position: absolute;

    inset: 0;

    background-image:

        linear-gradient(

            rgba(255, 255, 255, 0.02) 1px,

            transparent 1px

        ),

        linear-gradient(

            90deg,

            rgba(255, 255, 255, 0.02) 1px,

            transparent 1px

        );

    background-size: 60px 60px;

    mask-image:

        linear-gradient(

            to bottom,

            transparent,

            black,

            transparent

        );

    pointer-events: none;

}

.cta-section .container {

    position: relative;

    z-index: 2;

}

.cta-section h2 {

    margin-bottom: 16px;

    font-size: clamp(2rem, 4vw, 3.2rem);

    letter-spacing: -0.035em;

}

.cta-section p {

    max-width: 600px;

    margin: 0 auto 30px;

    color: #929ba6;

}



/* =========================================================

   FOOTER

   ========================================================= */

.footer {

    padding: 35px 0;

    background: #080c11;

    border-top: 1px solid rgba(255, 255, 255, 0.06);

    color: #8f99a4;

}

/* Footer-Inhalt mittig */

.footer-content {

    text-align: center;

}

/* BRAUN Logo im Footer mittig */

.footer-content > div:first-child .logo {

    align-items: center;

}

/* Navigation + Beispiele mittig */

.footer-links {

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 12px;

    margin-bottom: 15px;

    font-size: 0.82rem;

    text-align: center;

}

.footer-links a {

    transition: color 0.2s ease;

}

.footer-links a:hover {

    color: #FC6802;

}

.footer p {

    text-align: center;

    font-size: 0.78rem;

}



/* =========================================================

   SCROLL REVEAL

   ========================================================= */

.reveal {

    opacity: 0;

    transform: translateY(18px);

    transition:

        opacity 0.7s ease,

        transform 0.7s ease;

}

.reveal-visible {

    opacity: 1;

    transform: translateY(0);

}



/* =========================================================

   RESPONSIVE — TABLET

   ========================================================= */

@media (max-width: 950px) {

    .nav {

        gap: 14px;

    }

    .nav > a {

        font-size: 0.82rem;

    }

    .services-grid {

        grid-template-columns: repeat(2, minmax(0, 1fr));

    }

    .why-grid {

        grid-template-columns: repeat(2, minmax(0, 1fr));

    }

    .steps-grid {

        grid-template-columns: repeat(2, minmax(0, 1fr));

    }

}



/* =========================================================

   RESPONSIVE — MOBILE

   ========================================================= */

@media (max-width: 700px) {

    .section {

        padding: 80px 0;

    }

    .nav-container {

        min-height: 68px;

    }

    .nav {

        gap: 7px;

    }

    .nav > a {

        display: none;

    }

    .logo span {

        font-size: 1.1rem;

    }

    .logo small {

        font-size: 0.56rem;

        margin-top: 4px;

    }

    .dots-btn {

        width: 34px;

        height: 34px;

    }

    .lang-switch {

        margin-left: 0;

    }

    .hero {
    min-height: auto;
    padding: 90px 0 100px;
}

.hero h1 {
    font-size: clamp(2.4rem, 9vw, 3.2rem);
}

.hero p {
    font-size: 0.98rem;
    line-height: 1.6;
}

.hero .btn {
    width: 100%;
    max-width: 320px;
}

    .services-grid,

    .why-grid,

    .steps-grid {

        grid-template-columns: 1fr;

    }

    .service-card,

    .why-card,

    .contact-info {

        padding: 24px;

    }

    .section-subtitle {

        margin-bottom: 40px;

    }

    .dropdown-content {

        position: fixed;

        top: 68px;

        right: 4%;

        width: min(290px, 92vw);

    }

    .cta-section {

        padding: 90px 0;

    }

    .footer-links {

        flex-wrap: wrap;

    }

}



/* =========================================================
   VERY SMALL PHONES
   ========================================================= */

@media (max-width: 420px) {

    .container {
        width: 90%;
    }

    .lang-button {
        min-width: 34px;
        padding: 0 7px;
    }

    .logo span {
        font-size: 1rem;
    }

    .logo small {
        font-size: 0.52rem;
    }

    /* HERO — kleinere Smartphones */
    .hero {
        padding: 75px 0 85px;
        min-height: auto;
    }

    .hero h1 {
        font-size: 2.35rem;
    }

    .hero p {
        font-size: 0.95rem;
        line-height: 1.6;
    }

    .hero-overlay::before {
        width: 95vw;
        height: 55%;
        opacity: 0.30;
    }

    .btn {
        width: 100%;
    }

    .hero .btn {
        max-width: 260px;
    }

    .service-card,
    .why-card,
    .contact-info {
        padding: 21px;
    }

}


/* =========================================================

   REDUCED MOTION

   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    *,

    *::before,

    *::after {

        animation-duration: 0.01ms !important;

        animation-iteration-count: 1 !important;

        transition-duration: 0.01ms !important;

        scroll-behavior: auto !important;

    }

}


/* =========================================
   B ALS LOGO OBEN LINKS
   ========================================= */

.header .logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 65px;
    min-width: 65px;
    height: 58px;
    flex-shrink: 0;
    overflow: visible;
    font-size: 0;
}

.header .logo span,
.header .logo small {
    display: none;
}

.header .logo::before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background-color:#0b0f14;
    background-image: url("GrosseB.png");
    background-repeat: no-repeat;
    background-position: left center;
    background-size: contain;
}

/* =========================================
   BRAUNWEB & DESIGN IM HERO-HINTERGRUND
   ========================================= */

.hero-overlay {
    overflow: hidden;
}

.hero-overlay::before {
    content: "";
    position: absolute;
    z-index: 0;
    width: min(75vw, 950px);
    height: 70%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);

    background-image: url("BRAUNwebbild.jpeg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;

    opacity: 0.30;
    mix-blend-mode: screen;
    pointer-events: none;
}

/* Der Hero-Text bleibt gut lesbar */
.hero-content {
    position: relative;
    z-index: 2;
}

/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 760px) {
    .header .logo {
        width: 48px;
        min-width: 48px;
        height: 45px;
    }

    .hero-overlay::before {
        width: 100vw;
        height: 100%;
        left:50%;
        top: 50%;
        transform: translate(-50%,-50%);
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
        opacity: 0.30;
    }
}

/* FOOTER BRAND */

.footer-brand {
    text-align: center;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.footer-logo img {
    display: block;
    width: 76px;
    height: 76px;
    object-fit: contain;
}

.footer-brand p {
    color: #aeb6c0;
    margin: 0;
}


/* CTA-Kasten auf der Gastronomie-Seite */
.gastro-cta {
    width: 100%;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

/* CTA-Kasten auf der Handwerk-Seite */
.handwerk-cta {
    width: 100%;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}

/* HERO LOGO UND TEXT */
.hero{
    position: relative;
    overflow: hidden;
}

.hero-overlay{
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.hero-overlay::before{
    z-index: 0;
}

.hero-content{
    position: relative;
    z-index: 1;
}


/* LOGO: ECKIGER, WEICHER FADE-OUT */
.header .logo {
    isolation: isolate;
}

.header .logo::before {
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 20%,
        black 80%,
        transparent 100%
    ),
    linear-gradient(
        to bottom,
        transparent 0%,
        black 20%,
        black 80%,
        transparent 100%
    );

    -webkit-mask-composite: source-in;

    mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 20%,
        black 80%,
        transparent 100%
    ),
    linear-gradient(
        to bottom,
        transparent 0%,
        black 20%,
        black 80%,
        transparent 100%
    );

    mask-composite: intersect;
}

