/*
Theme: Love Meets Buchuniversum
Local fonts
-----------
Lege die Font-Dateien in diesen Ordner:
/assets/fonts/

Erwartete Dateinamen:
- Caveat-VariableFont_wght.ttf
- CormorantGaramond-VariableFont_wght.ttf
- CormorantGaramond-Italic-VariableFont_wght.ttf
- Inter-VariableFont_opsz,wght.ttf
- Inter-Italic-VariableFont_opsz,wght.ttf

Hinweis: Falls du nur die Italic-Datei von Cormorant Garamond hast, benenne die normale Datei bitte
CormorantGaramond-VariableFont_wght.ttf oder passe unten die src-Zeile an.
*/

@font-face {
    font-family: "LM Serif";
    src: url("../fonts/CormorantGaramond-VariableFont_wght.ttf") format("truetype");
    font-weight: 300 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "LM Serif";
    src: url("../fonts/CormorantGaramond-Italic-VariableFont_wght.ttf") format("truetype");
    font-weight: 300 700;
    font-style: italic;
    font-display: swap;
}

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

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

@font-face{
    font-family:"LM Script";
    src:url("../fonts/Allura-Regular.ttf") format("truetype");
    font-weight:400;
    font-style:normal;
    font-display:swap;
}

:root {
    --lm-bg: #050507;
    --lm-panel: #0b0b10;
    --lm-line: rgba(188, 129, 255, 0.22);
    --lm-line-strong: rgba(188, 129, 255, 0.48);
    --lm-text: #e8e0ee;
    --lm-muted: #aaa0b2;
    --lm-accent: #9a5cff;
    --lm-accent-2: #d8b6ff;
    --lm-glow: rgba(154, 92, 255, 0.45);
    --lm-max: 1420px;
    --lm-head: "LM Serif", Georgia, serif;
    --lm-body: "LM Sans", Arial, sans-serif;
    --lm-script: "LM Script", cursive;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--lm-bg);
    color: var(--lm-text);
    font-family: var(--lm-body);
    font-size: 16px;
    line-height: 1.65;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background:
        radial-gradient(circle at 10% 20%, rgba(112, 45, 180, 0.25), transparent 28%),
        radial-gradient(circle at 90% 30%, rgba(154, 92, 255, 0.16), transparent 24%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.65));
}

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

img {
    max-width: 100%;
    height: auto;
}

.screen-reader-text {
    position: absolute;
    left: -10000px;
}

.lm-wrap {
    width: min(var(--lm-max), calc(100% - 48px));
    margin-inline: auto;
}

.lm-hero .lm-wrap {
    width: calc(100% - 80px);
    max-width: none;
    margin-left: 100px;
    margin-right: 100px;
}

/* Header */

.lm-site-header {
    position: absolute;
    inset: 0 0 auto;
    z-index: 20;
    padding: 28px 0;
}

.lm-header-inner {
    display: flex;
    align-items: center;
    gap: 34px;
}

.lm-brand {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 250px;
}

.lm-logo-img {
    width: 78px;
    height: 78px;
    object-fit: contain;
}

.lm-logo-mark {
    display: grid;
    place-items: center;
    width: 74px;
    height: 74px;
    border: 1px solid var(--lm-line-strong);
    border-radius: 50%;
    box-shadow: 0 0 32px rgba(154, 92, 255, 0.18);
    font-family: var(--lm-head);
    font-size: 26px;
}

.lm-brand-title {
	display:block;
    font-family: var(--lm-head);
    font-size: 28px;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.lm-brand-sub {
	display:block;
    color: var(--lm-muted);
    font-size: 13px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
}

.lm-nav {
    display: flex;
    flex: 1;
    align-items: center;
    justify-content: center;
    gap: 34px;
}

.lm-nav a {
    color: #d8d0de;
    font-size: 13px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    transition: color 0.2s ease, text-shadow 0.2s ease;
}

.lm-nav a:hover {
    color: var(--lm-accent-2);
    text-shadow: 0 0 18px var(--lm-glow);
}

.lm-header-icons {
    display: flex;
    align-items: center;
    gap: 20px;
}

.lm-icon-circle {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--lm-line-strong);
    border-radius: 50%;
    background: rgba(154, 92, 255, 0.06);
    color: #fff;
}

.lm-menu-toggle {
    display: none;
    border: 1px solid var(--lm-line);
    border-radius: 999px;
    padding: 10px 14px;
    background: transparent;
    color: var(--lm-text);
}

/* Hero */

.lm-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 650px;
    overflow: hidden;
    background-color: #07070a;
}

.lm-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--lm-hero-bg);
    background-position: center;
    background-size: cover;
    opacity: 0.78;
    filter: saturate(0.8);
}

.lm-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.48) 42%, rgba(0, 0, 0, 0.74) 100%),
        linear-gradient(0deg, #050507 0%, transparent 28%);
}

.lm-hero-inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: minmax(340px, 820px) 1fr;
    gap: 60px;
    padding-top: 110px;
}

.lm-kicker {
    margin-bottom: 16px;
    color: var(--lm-accent-2);
    font-size: 14px;
    letter-spacing: 0.25em;
    text-transform: uppercase;
}

.lm-hero h1 {
    margin: 0 0 18px;
    font-family: var(--lm-head);
	font-size: clamp(34px, 4vw, 68px);
	letter-spacing: 0.02em;
    font-weight: 500;
    line-height: 1.04;
    text-transform: uppercase;
}

.lm-script {
    display: block;
    color: var(--lm-accent);
    font-family: var(--lm-script);
    font-size: clamp(46px, 5.5vw, 82px);
    font-weight: 500;
    letter-spacing: 0.02em;
    text-shadow: 0 0 26px rgba(154, 92, 255, 0.4);
    text-transform: none;
}

.lm-hero p {
    max-width: 580px;
    margin: 0 0 30px;
    color: #d2cad8;
    font-size: 18px;
}

.lm-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border: 1px solid var(--lm-line-strong);
    border-radius: 4px;
    padding: 14px 30px;
    background: linear-gradient(90deg, rgba(154, 92, 255, 0.14), rgba(154, 92, 255, 0.04));
    box-shadow: 0 0 24px rgba(154, 92, 255, 0.2);
    color: #fff;
    font-size: 13px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.lm-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 34px rgba(154, 92, 255, 0.4);
}

.lm-quote {
    align-self: center;
    justify-self: end;
    max-width: 360px;
    color: #d9d0df;
    font-family: var(--lm-head);
    font-size: 27px;
    font-style: italic;
    line-height: 1.28;
    text-align: center;
}

.lm-quote span {
    color: var(--lm-accent-2);
}

.lm-quote::before,
.lm-quote::after {
    content: "";
    display: block;
    width: 180px;
    height: 1px;
    margin: 18px auto;
    background: linear-gradient(90deg, transparent, var(--lm-line-strong), transparent);
}

/* Genre cards */

.lm-category-row {
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    background: #07070a;
}

.lm-category-card {
    position: relative;
    min-height: 190px;
    overflow: hidden;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
    padding: 56px 10px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    text-align: left;
}

.lm-category-card:last-child {
    border-right: 0;
}

.lm-category-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--lm-card-bg);
    background-position: center;
    background-size: cover;
    opacity: 0.60;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.lm-category-card:after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(
    90deg,
    rgba(0,0,0,.03) 0%,
    rgba(0,0,0,.10) 45%,
    rgba(0,0,0,.50) 100%
	);
}

.lm-category-card > *{
    position:relative;
    z-index:2;
    width:min(420px,100%);
}

.lm-category-card h2 {
    margin: 0 0 6px;
    font-family: var(--lm-head);
    font-size: 25px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.lm-category-card p {
    margin: 0 0 16px;
    color: var(--lm-muted);
}

.lm-category-card:hover::before {
    transform: scale(1.04);
    opacity: 0.56;
}

.lm-link {
    color: var(--lm-accent-2);
    font-size: 13px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

/* Universe cards */

.lm-universe {
    position: relative;
    overflow: hidden;
    padding: 52px 0 80px;
}

.lm-universe::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: var(--lm-section-bg);
    background-position: center;
    background-size: cover;
    opacity: 0.22;
}

.lm-universe > .lm-wrap {
    position: relative;
    z-index: 2;
}

.lm-section-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin: 0 0 36px;
    font-family: var(--lm-head);
    font-size: 31px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.lm-section-title::before,
.lm-section-title::after {
    content: "";
    width: 90px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--lm-line-strong));
}

.lm-section-title::after {
    background: linear-gradient(90deg, var(--lm-line-strong), transparent);
}

.lm-feature-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 26px;
}

.lm-feature-card {
    min-height: 190px;
    border: 1px solid var(--lm-line);
    border-radius: 7px;
    padding: 28px 20px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012));
    box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
    text-align: center;
    backdrop-filter: blur(8px);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.lm-feature-card:hover {
    transform: translateY(-3px);
    border-color: var(--lm-line-strong);
    box-shadow: 0 0 32px rgba(154, 92, 255, 0.16);
}

.lm-feature-icon {
    margin-bottom: 18px;
    color: var(--lm-accent-2);
    font-size: 46px;
    line-height: 1;
}

.lm-feature-card h3 {
    margin: 0 0 6px;
    font-family: var(--lm-head);
    font-size: 20px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.lm-feature-card p {
    margin: 0 0 12px;
    color: var(--lm-muted);
    font-size: 15px;
}

/* Standard pages */

.lm-page {
    padding: 150px 0 80px;
}

.lm-page h1 {
    font-family: var(--lm-head);
    font-size: 56px;
    font-weight: 500;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.lm-content {
    max-width: 860px;
}

.lm-footer {
    border-top: 1px solid var(--lm-line);
    padding: 34px 0;
    background: #050507;
    color: var(--lm-muted);
    text-align: center;
}

@media (max-width: 1100px) {
    .lm-nav {
        display: none;
    }

    .lm-menu-toggle {
        display: block;
        margin-left: auto;
    }

    .lm-header-inner {
        gap: 16px;
    }

    .lm-hero-inner {
        grid-template-columns: 1fr;
    }

    .lm-quote {
        justify-self: start;
    }

    .lm-category-card {
        padding: 36px 28px;
    }

    .lm-feature-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 760px) {
    .lm-wrap {
        width: min(100% - 28px, var(--lm-max));
    }

    .lm-site-header {
        position: absolute;
        padding: 18px 0;
    }

    .lm-brand {
        min-width: 0;
    }

    .lm-brand-title {
        font-size: 20px;
    }

    .lm-brand-sub {
        font-size: 10px;
    }

    .lm-logo-img,
    .lm-logo-mark {
        width: 54px;
        height: 54px;
    }

    .lm-hero {
        min-height: 680px;
    }

    .lm-hero-inner {
        padding-top: 120px;
    }

    .lm-hero h1 {
        font-size: 38px;
    }

    .lm-hero p {
        font-size: 16px;
    }

    .lm-quote {
        display: none;
    }

    .lm-category-row {
        grid-template-columns: 1fr;
    }

    .lm-category-card {
        min-height: 150px;
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    }

    .lm-feature-grid {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    .lm-section-title {
        gap: 12px;
        font-size: 22px;
    }

    .lm-section-title::before,
    .lm-section-title::after {
        width: 34px;
    }
}

@media (max-width: 480px) {
    .lm-header-icons {
        display: none;
    }

    .lm-button {
        width: 100%;
        padding-inline: 16px;
    }

    .lm-feature-grid {
        grid-template-columns: 1fr;
    }
}
