/* Sag Ja zu Drogen – dunkles, modernes Satire-Layout, mobile first */

@font-face {
    font-family: "Mulish";
    src: url("../fonts/mulish.woff2") format("woff2");
    font-weight: 300 900;
    font-display: swap;
}

:root {
    --bg: #0d0820;
    --bg-tint: #150d2e;
    --surface: rgba(255, 255, 255, .045);
    --surface-strong: rgba(20, 12, 45, .78);
    --border: rgba(255, 255, 255, .1);
    --text: #f1edfc;
    --muted: #bdb4da;
    --violet: #8b5cf6;
    --pink: #ec4899;
    --amber: #f59e0b;
    --cyan: #67e8f9;
    --danger: #fb7185;
    --success: #34d399;
    --gradient: linear-gradient(115deg, var(--violet) 0%, var(--pink) 55%, var(--amber) 100%);
    --gradient-cool: linear-gradient(135deg, #7c3aed, #db2777);

    --font: "Mulish", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --step--1: .875rem;
    --step-0: 1.0625rem;
    --step-1: clamp(1.125rem, 1.05rem + .35vw, 1.3rem);
    --step-2: clamp(1.4rem, 1.2rem + 1vw, 1.9rem);
    --step-3: clamp(1.9rem, 1.4rem + 2.4vw, 3.1rem);
    --step-4: clamp(2.6rem, 1.6rem + 5vw, 5.6rem);

    --space-s: .75rem;
    --space-m: 1.25rem;
    --space-l: 2rem;
    --space-xl: clamp(3.5rem, 2.5rem + 5vw, 7rem);

    --radius: 20px;
    --radius-l: 28px;
    --header-h: 4rem;
    --shadow: 0 1.5rem 3rem -1.5rem rgba(0, 0, 0, .7);
    --ease: cubic-bezier(.2, .8, .2, 1);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-padding-top: calc(var(--header-h) + 1rem);
}

@media (prefers-reduced-motion: no-preference) {
    html { scroll-behavior: smooth; }
}

body {
    margin: 0;
    font-family: var(--font);
    font-size: var(--step-0);
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
}

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

h1, h2, h3 {
    margin: 0;
    line-height: 1.1;
    font-weight: 850;
    letter-spacing: -.02em;
    text-wrap: balance;
}

p {
    margin: 0;
}

a {
    color: var(--cyan);
    text-underline-offset: .2em;
}

a:hover {
    color: #a5f3fc;
}

:focus-visible {
    outline: 3px solid var(--cyan);
    outline-offset: 3px;
    border-radius: 4px;
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.wrap {
    width: min(100% - 2rem, 74rem);
    margin-inline: auto;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -10rem;
    z-index: 100;
    padding: .6rem 1rem;
    color: var(--bg);
    background: var(--cyan);
    border-radius: 999px;
    font-weight: 800;
}

.skip-link:focus {
    top: .75rem;
}

.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.eyebrow {
    margin-bottom: .75rem;
    font-size: var(--step--1);
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--pink);
}

.lead {
    font-size: var(--step-1);
    color: var(--muted);
}

/* ---------- Buttons ---------- */

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 3.25rem;
    padding: .8rem 1.75rem;
    font: inherit;
    font-weight: 800;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    color: #fff;
    background: var(--gradient);
    background-size: 160% 100%;
    border: 0;
    border-radius: 999px;
    box-shadow: 0 .75rem 2rem -.75rem rgba(236, 72, 153, .7);
    cursor: pointer;
    transition: transform .2s var(--ease), background-position .4s var(--ease), box-shadow .2s var(--ease);
}

.button:hover {
    color: #fff;
    background-position: 100% 0;
    transform: translateY(-2px);
}

.button:active {
    transform: translateY(1px);
}

.button--ghost {
    background: rgba(255, 255, 255, .06);
    border: 1.5px solid rgba(255, 255, 255, .45);
    box-shadow: none;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.button--ghost:hover {
    background: rgba(255, 255, 255, .14);
}

.button--light {
    color: var(--bg);
    background: #fff;
    box-shadow: 0 .75rem 2rem -.75rem rgba(0, 0, 0, .5);
}

.button--light:hover {
    color: var(--bg);
    background: #fef3c7;
}

.button:disabled {
    cursor: progress;
    opacity: .7;
    transform: none;
}

/* ---------- Header ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    height: var(--header-h);
    background: rgba(13, 8, 32, .62);
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    backdrop-filter: blur(14px) saturate(140%);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    height: 100%;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: .6rem;
    font-weight: 900;
    letter-spacing: -.01em;
    color: var(--text);
    text-decoration: none;
    white-space: nowrap;
}

.brand:hover {
    color: var(--text);
}

.brand img {
    width: 1.75rem;
    height: 1.75rem;
}

.nav {
    display: flex;
    gap: .25rem;
}

.nav a {
    display: block;
    padding: .45rem .9rem;
    font-weight: 700;
    color: var(--muted);
    text-decoration: none;
    border-radius: 999px;
    transition: color .2s, background-color .2s;
}

.nav a:hover,
.nav a[aria-current="page"] {
    color: var(--text);
    background: rgba(255, 255, 255, .08);
}

/* ---------- Hero ---------- */

.hero {
    position: relative;
    display: grid;
    align-items: center;
    margin-top: calc(-1 * var(--header-h));
    padding: calc(var(--header-h) + var(--space-xl)) 0 var(--space-xl);
    text-align: center;
    background-color: var(--bg);
    background-image:
        radial-gradient(60% 50% at 20% 30%, rgba(139, 92, 246, .45), transparent 70%),
        radial-gradient(50% 50% at 85% 70%, rgba(236, 72, 153, .35), transparent 70%),
        linear-gradient(180deg, rgba(13, 8, 32, .55) 0%, rgba(13, 8, 32, .35) 50%, var(--bg) 100%),
        url("../images/hero-960.webp");
    background-size: cover;
    background-position: center;
    isolation: isolate;
}

.hero--home {
    min-height: min(100svh, 56rem);
    padding-bottom: calc(var(--space-xl) + 4rem);
}

.hero--compact {
    padding-bottom: var(--space-l);
}

.hero__content {
    display: grid;
    justify-items: center;
    gap: var(--space-m);
}

.hero__title {
    font-size: var(--step-4);
    font-weight: 900;
    line-height: 1.02;
    letter-spacing: -.035em;
    text-shadow: 0 .5rem 2rem rgba(0, 0, 0, .35);
}

.hero--page .hero__title {
    font-size: var(--step-3);
}

.hero__subtitle {
    max-width: 36rem;
    font-size: var(--step-1);
    font-weight: 600;
    color: #e4dcfb;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .75rem;
    margin-top: var(--space-s);
}

/* ---------- Karten ---------- */

.cards {
    display: grid;
    gap: var(--space-m);
}

.card {
    position: relative;
    padding: var(--space-l) var(--space-m);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: transform .3s var(--ease), border-color .3s;
}

.card p {
    color: var(--muted);
}

.card--center {
    display: grid;
    justify-items: center;
    gap: .75rem;
    text-align: center;
}

.card--row {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--space-m);
    align-items: start;
}

.card__title {
    margin-bottom: .4rem;
    font-size: var(--step-1);
    font-weight: 800;
}

.card--center .card__title {
    margin-bottom: 0;
}

.card__icon {
    display: grid;
    place-items: center;
    width: 3.25rem;
    height: 3.25rem;
    color: #fff;
    background: var(--gradient-cool);
    border-radius: 16px;
    box-shadow: 0 .75rem 1.5rem -.75rem rgba(219, 39, 119, .8);
}

.card__icon--warm {
    background: linear-gradient(135deg, var(--amber), var(--pink));
}

.icon {
    width: 1.6rem;
    height: 1.6rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.intro {
    position: relative;
    z-index: 2;
    margin-top: -5rem;
    padding-bottom: var(--space-xl);
}

.cards--lift .card {
    background: var(--surface-strong);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow);
}

/* ---------- Abschnitte ---------- */

.section {
    padding-block: var(--space-xl);
}

.section--tint {
    background:
        radial-gradient(40% 60% at 100% 0%, rgba(139, 92, 246, .14), transparent 70%),
        var(--bg-tint);
}

.section__head {
    display: grid;
    justify-items: center;
    gap: var(--space-m);
    max-width: 48rem;
    margin: 0 auto var(--space-l);
    text-align: center;
}

.section__head h2,
.split__text h2,
.cta h2 {
    font-size: var(--step-3);
}

.section__head .eyebrow {
    margin-bottom: -.5rem;
}

/* Collage */
.collage {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-block: var(--space-m);
    overflow-x: clip;
}

.collage__img {
    width: 38%;
    border-radius: var(--radius);
    border: 3px solid rgba(255, 255, 255, .9);
    box-shadow: var(--shadow);
    transition: transform .4s var(--ease);
}

.collage__img--left { transform: rotate(-6deg) translateX(12%); }
.collage__img--center { position: relative; z-index: 1; width: 44%; transform: translateY(-6%); }
.collage__img--right { transform: rotate(6deg) translateX(-12%); }

/* Bild + Text */
.split {
    display: grid;
    gap: var(--space-l);
    align-items: center;
}

.split__img {
    width: 100%;
    border-radius: var(--radius-l);
    box-shadow: var(--shadow);
}

.split__text {
    display: grid;
    gap: var(--space-m);
}

.split__text .eyebrow {
    margin-bottom: -.5rem;
}

.facts {
    display: grid;
    gap: var(--space-m);
    margin: var(--space-s) 0 0;
}

.facts div {
    padding-left: 1rem;
    border-left: 3px solid;
    border-image: var(--gradient) 1;
}

.facts dt {
    font-weight: 800;
}

.facts dd {
    margin: .2rem 0 0;
    color: var(--muted);
}

/* Testimonials */
.quote {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: var(--space-l);
    padding-top: calc(var(--space-l) + 1rem);
}

.quote::before {
    content: "“";
    position: absolute;
    top: .25rem;
    left: var(--space-m);
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.quote blockquote {
    margin: 0;
}

.quote blockquote p {
    color: var(--text);
    font-size: var(--step-0);
}

.quote__person {
    display: flex;
    align-items: center;
    gap: .9rem;
}

.quote__person img {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    border: 2px solid var(--pink);
}

.quote__person p {
    display: grid;
    line-height: 1.3;
}

.quote__person strong {
    color: var(--text);
}

.quote__person span {
    font-size: var(--step--1);
    font-style: italic;
}

/* Dealer-Banner */
.cta {
    padding-block: var(--space-l);
    background: var(--gradient);
}

.cta__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-m);
}

.cta h2 {
    font-size: var(--step-2);
    color: #fff;
}

/* ---------- Kontakt ---------- */

.contact {
    padding-block: var(--space-xl);
    background:
        linear-gradient(180deg, var(--bg) 0%, rgba(13, 8, 32, .82) 25%, rgba(13, 8, 32, .82) 75%, var(--bg) 100%),
        url("../images/bierflaschen.webp") center / cover;
}

.contact__inner {
    max-width: 52rem;
}

.form {
    padding: var(--space-l) var(--space-m);
    background: var(--surface-strong);
    border: 1px solid var(--border);
    border-radius: var(--radius-l);
    box-shadow: var(--shadow);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
}

.form__grid {
    display: grid;
    gap: var(--space-m);
}

.field {
    display: grid;
    gap: .45rem;
    min-width: 0;
}

.field label {
    font-size: var(--step--1);
    font-weight: 800;
    letter-spacing: .02em;
}

.field input,
.field textarea {
    width: 100%;
    min-height: 3.25rem;
    padding: .8rem 1rem;
    font: inherit;
    color: var(--text);
    background: rgba(255, 255, 255, .06);
    border: 1.5px solid rgba(255, 255, 255, .18);
    border-radius: 14px;
    transition: border-color .2s, background-color .2s, box-shadow .2s;
    -webkit-appearance: none;
    appearance: none;
}

.field textarea {
    min-height: 10rem;
    resize: vertical;
}

.field input:hover,
.field textarea:hover {
    border-color: rgba(255, 255, 255, .35);
}

.field input:focus,
.field textarea:focus {
    outline: none;
    background: rgba(255, 255, 255, .1);
    border-color: var(--cyan);
    box-shadow: 0 0 0 4px rgba(103, 232, 249, .2);
}

.field [aria-invalid="true"] {
    border-color: var(--danger);
}

.field__error {
    font-size: var(--step--1);
    font-weight: 700;
    color: var(--danger);
}

.field__error:empty {
    display: none;
}

.hp {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.form__footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: var(--space-m);
    margin-top: var(--space-l);
}

.form__status {
    flex: 1 1 16rem;
    font-weight: 700;
}

.form__status:empty {
    display: none;
}

.form__status[data-state] {
    padding: .8rem 1rem;
    border-radius: 14px;
    background: rgba(255, 255, 255, .06);
    border-left: 4px solid var(--cyan);
}

.form__status[data-state="success"] { border-left-color: var(--success); }
.form__status[data-state="error"] { border-left-color: var(--danger); }

.form__status:focus {
    outline: none;
}

.form__noscript {
    margin-top: var(--space-m);
    color: var(--amber);
    font-weight: 700;
}

/* ---------- Drogen-Seite ---------- */

.chips {
    padding-block: var(--space-l) 0;
}

.chips ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .5rem;
}

.chips a {
    display: block;
    padding: .4rem .95rem;
    font-size: var(--step--1);
    font-weight: 800;
    color: var(--text);
    text-decoration: none;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    transition: background-color .2s, border-color .2s;
}

.chips a:hover {
    background: rgba(236, 72, 153, .18);
    border-color: var(--pink);
}

.drugs {
    display: grid;
    gap: var(--space-l);
    padding-block: var(--space-l) var(--space-xl);
}

.drug {
    display: grid;
    gap: var(--space-l);
    align-items: center;
    padding: var(--space-m);
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-l);
}

.drug__img {
    width: 100%;
    border-radius: var(--radius);
}

.drug__text {
    display: grid;
    gap: var(--space-s);
    padding: 0 var(--space-s) var(--space-s);
}

.drug__text h2 {
    font-size: var(--step-3);
}

.drug__text p {
    color: var(--muted);
}

.drug__text p:first-of-type {
    color: var(--text);
}

/* ---------- Rechtstexte ---------- */

.prose {
    max-width: 48rem;
    padding-block: var(--space-l) var(--space-xl);
}

.prose h2 {
    margin: var(--space-l) 0 var(--space-s);
    font-size: var(--step-2);
}

.prose h2:first-child {
    margin-top: 0;
}

.prose p,
.prose li {
    color: var(--muted);
}

.prose p + p {
    margin-top: var(--space-s);
}

.prose ul {
    display: grid;
    gap: .5rem;
    margin-top: var(--space-s);
    padding-left: 1.25rem;
    list-style: disc;
}

.prose li::marker {
    color: var(--pink);
}

.prose strong {
    color: var(--text);
}

.callout {
    padding: var(--space-m);
    color: var(--text) !important;
    font-weight: 600;
    background: var(--surface);
    border: 1px solid var(--border);
    border-left: 4px solid var(--pink);
    border-radius: var(--radius);
}

/* ---------- Footer ---------- */

.site-footer {
    padding-block: var(--space-l);
    border-top: 1px solid rgba(255, 255, 255, .06);
    background: #090616;
}

.site-footer__inner {
    display: grid;
    justify-items: center;
    gap: var(--space-s);
    text-align: center;
}

.site-footer__brand {
    font-size: var(--step-1);
    font-weight: 900;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .25rem 1.25rem;
}

.footer-nav a {
    font-weight: 700;
    color: var(--muted);
    text-decoration: none;
}

.footer-nav a:hover,
.footer-nav a[aria-current="page"] {
    color: var(--text);
    text-decoration: underline;
}

.site-footer__copy {
    font-size: var(--step--1);
    color: var(--muted);
}

/* Fallback-Seite von mail.php (ohne JavaScript) */
.plain {
    display: grid;
    place-items: center;
    min-height: 100vh;
    padding: 1rem;
}

.plain__box {
    display: grid;
    gap: 1rem;
    max-width: 30rem;
    padding: 2rem;
    text-align: center;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-l);
}

/* ---------- Breakpoints ---------- */

@media (min-width: 40em) {
    .cards--2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .form {
        padding: var(--space-l);
    }

    .form__grid {
        grid-template-columns: 1fr 1fr;
    }

    .field--full {
        grid-column: 1 / -1;
    }

    .facts {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 60em) {
    .hero {
        background-image:
            radial-gradient(60% 50% at 20% 30%, rgba(139, 92, 246, .45), transparent 70%),
            radial-gradient(50% 50% at 85% 70%, rgba(236, 72, 153, .35), transparent 70%),
            linear-gradient(180deg, rgba(13, 8, 32, .55) 0%, rgba(13, 8, 32, .35) 50%, var(--bg) 100%),
            url("../images/hero-1920.webp");
    }

    .cards--3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .split {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
        gap: var(--space-xl);
    }

    .split--reverse .split__img {
        order: 2;
    }

    .drug {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
        padding: var(--space-l);
    }

    .drug:nth-child(even) .drug__img {
        order: 2;
    }

    .drug__text {
        padding: 0;
    }

    .site-footer__inner {
        grid-template-columns: 1fr auto 1fr;
        text-align: left;
    }

    .site-footer__brand {
        justify-self: start;
    }

    .site-footer__copy {
        justify-self: end;
    }
}

@media (hover: hover) {
    .card:hover {
        transform: translateY(-4px);
        border-color: rgba(236, 72, 153, .45);
    }

    .collage:hover .collage__img--left { transform: rotate(-2deg) translateX(4%); }
    .collage:hover .collage__img--right { transform: rotate(2deg) translateX(-4%); }
}

@media (max-width: 30em) {
    .brand span {
        font-size: .95rem;
    }

    .nav a {
        padding: .4rem .6rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
    }
}
