﻿* {
    box-sizing: border-box
}

html,
body {
    height: 100%
}

:root {
    --text: #111827;
    --muted: #6b7280;
    --white: #ffffff;
    --accent: #10b981
}

body {
    background: #fff;
    margin: 0;
    font-family: sans-serif;
    color: var(--text)
}

#main {
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden
}

#headline {
    position: absolute;
    left: -9999px
}

#site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #ffffff;
    color: #111827;
    border-bottom: 1px solid #e5e7eb
}

#site-header .container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between
}

.logo img {
    height: 28px;
    display: inline
}

.logo .logo-light {
    display: none
}

.logo .logo-dark {
    display: inline
}

.nav a {
    color: #374151;
    text-decoration: none;
    font-size: .95rem;
    margin-left: 18px
}

.nav a[aria-disabled="true"] {
    opacity: .6;
    pointer-events: none
}

.hero-bg {
    width: 100%;
    height: 160px;
    background: radial-gradient(120% 140% at 50% -20%, #3f3f46 0%, #1f2937 45%, #0b0c0f 100%)
}

.piano {
    position: relative;
    display: flex;
    height: 250px;
    overflow-x: auto;
    width: max-content;
    margin: 0 auto;
    max-width: 100%;
    -webkit-tap-highlight-color: transparent;
    border-radius: 18px;
    padding: 12px 8px 16px;
    background: #000;
    box-shadow: 0 0 0 8px #000
}

.white {
    width: 60px;
    height: 100%;
    background: #fff;
    border: 1px solid #000;
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding-bottom: 10px;
    cursor: pointer;
    user-select: none;
    flex-shrink: 0;
    border-radius: 0 0 14px 14px;
    box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .06)
}

.white.active {
    background: #bbb
}

.black {
    width: 40px;
    height: 150px;
    background: linear-gradient(to bottom, #3e3e3e 0%, #1a1a1a 65%, #000000 100%);
    color: #fff;
    font-size: .8rem;
    position: absolute;
    top: 0;
    z-index: 2;
    border-radius: 0 0 8px 8px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    padding-bottom: 10px;
    cursor: pointer;
    user-select: none;
    transform: translateX(-50%);
    flex-shrink: 0;
    box-shadow: 0 1px 0 rgba(255, 255, 255, .06) inset
}

.black.active {
    background: linear-gradient(to bottom, #5a5a5a 0%, #2b2b2b 65%, #1a1a1a 100%)
}

.info-bubbles {
    display: none;
    width: 100%;
    max-width: 680px;
    padding: 14px 16px;
    margin: 0 auto;
    position: relative;
    top: -40px
}

.info-bubbles .bubble-img {
    margin-bottom: 10px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, .25), inset 0 1px 0 rgba(255, 255, 255, .04)
}

.info-bubbles .bubble-img img {
    display: block;
    width: 100%;
    height: auto
}

.content {
    max-width: 920px;
    margin: 46px auto 32px;
    padding: 0 16px;
    text-align: center
}

.content h2 {
    font-size: clamp(1.4rem, 1.6rem + .6vw, 2rem);
    margin: 0 0 12px;
    color: #111827
}

.content p {
    color: #4b5563;
    line-height: 1.7;
    margin: 0 auto 22px;
    max-width: 740px
}

.showcase {
    width: 100%;
    height: auto;
    border-radius: 22px;
    display: block;
    margin: 0 auto
}

#footer {
    width: 100%;
    margin-top: 18px;
    border-top: 1px solid #e5e7eb;
    background: #fafafa
}

#footerContent.master {
    max-width: 1100px;
    margin: 0 auto;
    padding: 14px 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap
}

.button_green {
    color: #fff;
    background-color: #28a745;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    display: inline-block;
    font-weight: bold
}

.button_green:hover {
    background-color: #218838
}

.master {
    position: relative;
    width: 85%;
    max-width: 1200px;
    margin: auto;
    overflow: hidden
}

#imprintContent {
    padding-top: 50px;
    height: 70%;
    min-height: 500px;
    text-align: left;
    color: #111827
}

#imprintContent a:link {
    color: #000;
    text-decoration: none;
}

#imprintContent a:visited {
    color: #000;
    text-decoration: none;
}

#imprintContent a:hover {
    color: #fff;
    text-decoration: none;
}

#imprintContent a:active {
    text-decoration: none;
}

#imprintContent a:focus {
    outline: none;
}

@media (max-width:900px) {
    #site-header {
        background: #ffffff;
        color: #111827;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
        backdrop-filter: saturate(140%) blur(6px)
    }

    .nav a {
        color: #d1d5db
    }

    .logo .logo-dark {
        display: none
    }

    .logo .logo-light {
        display: inline
    }

    .hero-bg {
        height: 140px
    }
}

@media (max-width:900px) and (orientation:portrait) {
    .info-bubbles {
        display: block
    }
}

@media (max-width:900px) and (orientation:landscape) {
    #site-header {
        display: none !important
    }

    .hero-bg,
    .info-bubbles,
    .content {
        display: none !important
    }

    #footer {
        display: none !important
    }

    #main {
        padding: 0;
        margin: 0;
        width: 100vw;
        overflow-x: hidden
    }

    .piano {
        width: 100vw;
        max-width: 100vw;
        margin: 0;
        overflow-x: hidden;
        height: clamp(260px, 72vh, 520px);
        padding: 14px 10px 18px;
        box-shadow: 0 0 0 10px #000
    }

    .piano .white {
        width: auto;
        flex: 1 1 0;
        min-width: 0
    }

    .piano .black {
        height: 60%
    }
}