/* ===============================
   Montserrat – lokale Einbindung
   =============================== */
@font-face {
    font-family: "Montserrat";
    src: url("./fonts/Montserrat-Thin.ttf") format("truetype");
    font-weight: 100;
    font-style: normal;
}

@font-face {
    font-family: "Montserrat";
    src: url("./fonts/Montserrat-ExtraLight.ttf") format("truetype");
    font-weight: 200;
    font-style: normal;
}

@font-face {
    font-family: "Montserrat";
    src: url("./fonts/Montserrat-Light.ttf") format("truetype");
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: "Montserrat";
    src: url("./fonts/Montserrat-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Montserrat";
    src: url("./fonts/Montserrat-Medium.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: "Montserrat";
    src: url("./fonts/Montserrat-SemiBold.ttf") format("truetype");
    font-weight: 600;
    font-style: normal;
}

@font-face {
    font-family: "Montserrat";
    src: url("./fonts/Montserrat-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: "Montserrat";
    src: url("./fonts/Montserrat-ExtraBold.ttf") format("truetype");
    font-weight: 800;
    font-style: normal;
}

@font-face {
    font-family: "Montserrat";
    src: url("./fonts/Montserrat-Black.ttf") format("truetype");
    font-weight: 900;
    font-style: normal;
}

/* ===============================
   Basis-Variablen
   =============================== */
:root {
    --text: #fff;
    --bg: #fff;
    --gap-x: 15px;
    --gap-y: 25px;

    --fs-xs: clamp(12px, .78vw, 13px);
    --fs-sm: clamp(13px, .9vw, 14px);
    --fs-base: clamp(15px, 1vw, 16px);
    --fs-lg: clamp(18px, 1.6vw, 20px);
    --fs-xl: clamp(24px, 3.2vw, 36px);
    --fs-2xl: clamp(32px, 4.5vw, 48px);
    --fs-3xl: clamp(40px, 6vw, 64px);

    --lh-tight: 1.2;
    --lh-normal: 1.55;
    --lh-relaxed: 1.7;
}

/* ===============================
   Reset & Body
   =============================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    height: 100%;
    font-family: "Montserrat", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif;
    font-weight: 300;
    font-size: var(--fs-base);
    line-height: var(--lh-normal);
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

/* ===============================
   Layout
   =============================== */
.frame {
    padding: var(--gap-y) var(--gap-x);
    min-height: 100vh;
}

.aspect {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: var(--gap-x);
    height: calc(100vh - (var(--gap-y)*2));
    width: 100%;
    max-width: 100%;
}

/* ===============================
   Sidebar
   =============================== */
.sidebar {
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    color: #222;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}

.logo .title {
    font-weight: 600;
    letter-spacing: .08em;
    font-size: 1.0rem;
}

.logo .subtitle {
    font-size: .8rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: .16em;
    margin-top: 2px;
    font-weight: 300;
}

nav ul {
    list-style: none;
    margin: 14px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

nav a {
    display: block;
    padding: 7px 8px;
    text-decoration: none;
    color: #222;
    font-weight: 400;
    font-size: .95rem;
}

nav a:hover {
    background: #2b2b2b;
    color: #fff;
    transition: background .2s ease, color .2s ease;
}

.about {
    margin-top: 20px;
    font-size: .9rem;
    line-height: 1.4;
    color: #444;
}

.signature {
  margin-top: 10px;
  width: 100%;
  max-width: 200px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.signature img {
  max-width: 100%;
  height: auto;
  display: block;
  margin-bottom: 20px;
}

/* ===============================
   Audio-Button
   =============================== */
.audio-btn {
    appearance: none;
    border: 0;
    cursor: pointer;
    padding: 8px 14px;
    font-weight: 600;
    letter-spacing: .02em;
    background: rgba(0, 0, 0, .80);
    color: #fff;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
    margin-bottom: 20px;
    margin-left: -10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.audio-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(0, 0, 0, .22);
}

.audio-btn.is-playing {
    background: #ffffff;
    color: #000;
}

/* ===============================
   Sidebar Footer
   =============================== */
.side-footer {
    margin-top: 14px;
}

.socials {
    display: flex;
    gap: 25px;
}

.socials a {
    width: 15px;
    height: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: inherit;
    font-size: .8rem;
}

.legal {
    margin-top: 15px;
    margin-left: 10px;
    font-size: .82rem;
    color: #6b7280;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.legal a {
    color: inherit;
    text-decoration: none;
}

.legal a:hover {
    text-decoration: underline;
}

/* ===============================
   Hero
   =============================== */
.hero-wrap {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
}

.hero {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Glas-Container */
.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    color: #fff;
    max-width: 800px;
    width: 90%;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-align: center;
}

.hero-content p {
    font-size: 1.3rem;
    font-weight: 300;
    margin-bottom: 30px;
    color: #f0f0f0;
}

.hero-buttons {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.hero-btn {
    padding: 14px 28px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: .03em;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 6px;
    transition: transform .3s ease, box-shadow .3s ease, background .3s ease, color .3s ease;
    min-width: 200px;
    text-align: center;
}

.hero-btn:hover {
    background: rgba(255, 255, 255, 0.9);
    color: #000;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
    transform: scale(1.07);
}

/* ===============================
   Burger & Overlay Menü
   =============================== */
.burger {
    display: none;
    background: none;
    border: 0;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 500;
    color: #000;
    margin-left: auto;
    padding: 6px 8px;
}

.overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: #fff;
    z-index: 999;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid #000;
    padding: 20px;
}

.overlay.open {
    display: flex;
}

.overlay a {
    padding: 12px;
    font-size: 1.2rem;
    text-decoration: none;
    color: #000;
}

.overlay-footer {
    margin-top: auto;
    font-size: .9rem;
    color: #666;
    display: flex;
    gap: 20px;
    justify-content: center;
    text-align: center;
    padding-bottom: 15px;
}

.overlay-footer a {
    text-decoration: none;
    color: inherit;
}

.overlay-footer a:hover {
    text-decoration: underline;
}

/* ===============================
   Sichtbarkeit
   =============================== */
.desktop-only {
    display: block;
}

.mobile-only {
    display: none;
}

/* ===============================
   Mobile Styles
   =============================== */
@media (max-width: 960px) {
    .aspect {
        grid-template-columns: 1fr;
        height: auto;
    }

    .burger {
        display: inline-block;
    }

    nav {
        display: none;
    }

    .about,
    .sidebar .socials,
    .legal {
        display: none;
    }

    .hero-wrap {
        width: calc(100vw - (var(--gap-x)*2));
        min-height: calc(100vh - (var(--gap-y)*2));
        margin: 0 auto;
    }

    .hero-content {
        padding: 25px 20px;
    }

    .hero-content h1 {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
        line-height: 1.2;
        word-wrap: break-word;
        overflow-wrap: break-word;
        white-space: normal;
        hyphens: auto;
        max-width: 90%;
        margin-left: auto;
        margin-right: auto;
        text-align: center;
    }

    .hero-content p {
        font-size: 1.1rem;
        margin-bottom: 20px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .desktop-only {
        display: none;
    }

    .mobile-only {
        display: inline-flex;
    }

    .audio-btn.mobile-only {
        margin-top: 15px !important;
        margin-bottom: -15px;
    }

    .overlay .socials {
        display: flex;
        gap: 15px;
        justify-content: center;
        margin-top: 20px;
    }

    .overlay .socials a {
        width: 28px;
        height: 28px;
        font-size: .9rem;
    }
}
