/*
Theme Name: Late Night Rocks
Theme URI: https://late-night.rocks
Author: Late Night
Author URI: https://late-night.rocks
Description: Individuelles WordPress-Theme für die Band "Late Night" – Backsteinmauer-Optik mit glühender Neonschrift, abgestimmt auf das Late Night Band Showcase Plugin. Passt zum Rock-Repertoire der 70er bis 90er (AC/DC, Zeppelin, Toto, Van Halen ...).
Version: 1.7.0
Requires at least: 5.8
Requires PHP: 7.4
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: late-night-rocks
Tags: dark, one-column, custom-logo, custom-menu, featured-images, footer-widgets, translation-ready
*/

/* =========================================================
   1. Design-Tokens
   ========================================================= */
:root {
    /* Backstein */
    --ln-brick-dark: #2a1c17;
    --ln-brick-mid: #4a2c22;
    --ln-brick-light: #6b3f30;
    --ln-mortar: #1a110d;

    /* Neon */
    --ln-neon-primary: #ff3b1f;   /* Rot-Orange, identisch zum Plugin-Akzent */
    --ln-neon-gold: #ffb703;      /* Gold, identisch zum Plugin-Akzent */

    /* Basis */
    --ln-black: #0d0906;
    --ln-black-soft: #14100d;
    --ln-ink: #f3ece4;
    --ln-ink-dim: #b9afa4;

    --ln-radius: 14px;
    --ln-max-width: 1100px;

    --ln-font-display: 'Arial Narrow', 'Helvetica Neue Condensed', Arial, sans-serif;
    --ln-font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* =========================================================
   2. Reset & Basis
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

body {
    margin: 0;
    background: var(--ln-black);
    color: var(--ln-ink);
    font-family: var(--ln-font-body);
    font-size: 17px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

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

a { color: var(--ln-neon-gold); text-decoration: none; }
a:hover, a:focus { color: var(--ln-neon-primary); }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--ln-font-display);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .03em;
    line-height: 1.15;
    color: var(--ln-ink);
    margin: 0 0 .5em;
}

h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.2rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1.2em; }

/* Sichtbarer Fokus-Indikator (Barrierefreiheit) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid var(--ln-neon-gold);
    outline-offset: 2px;
}

.screen-reader-text {
    position: absolute !important;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
}

.skip-link {
    position: absolute;
    top: -60px;
    left: 10px;
    z-index: 100001;
    background: var(--ln-neon-primary);
    color: #fff;
    padding: 10px 18px;
    border-radius: 6px;
    transition: top .2s ease;
}
.skip-link:focus { top: 10px; }

/* =========================================================
   3. Wiederverwendbare Bausteine: Backstein & Neon
   ========================================================= */
.ln-brick {
    background-color: var(--ln-mortar);
    background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI4MCIgaGVpZ2h0PSI0MCIgdmlld0JveD0iMCAwIDgwIDQwIj4KICA8cmVjdCB3aWR0aD0iODAiIGhlaWdodD0iNDAiIGZpbGw9IiMxYTExMGQiLz4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMzYiIGhlaWdodD0iMTYiIGZpbGw9IiM0YTJjMjIiLz4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMzYiIGhlaWdodD0iMyIgZmlsbD0iIzZiM2YzMCIgb3BhY2l0eT0iMC41NSIvPgogIDxyZWN0IHg9IjQwIiB5PSIwIiB3aWR0aD0iMzYiIGhlaWdodD0iMTYiIGZpbGw9IiM2YjNmMzAiLz4KICA8cmVjdCB4PSI0MCIgeT0iMCIgd2lkdGg9IjM2IiBoZWlnaHQ9IjMiIGZpbGw9IiM4NjUyM2YiIG9wYWNpdHk9IjAuNSIvPgogIDxyZWN0IHg9Ii0yMCIgeT0iMjAiIHdpZHRoPSIzNiIgaGVpZ2h0PSIxNiIgZmlsbD0iIzZiM2YzMCIvPgogIDxyZWN0IHg9Ii0yMCIgeT0iMjAiIHdpZHRoPSIzNiIgaGVpZ2h0PSIzIiBmaWxsPSIjODY1MjNmIiBvcGFjaXR5PSIwLjUiLz4KICA8cmVjdCB4PSIyMCIgeT0iMjAiIHdpZHRoPSIzNiIgaGVpZ2h0PSIxNiIgZmlsbD0iIzRhMmMyMiIvPgogIDxyZWN0IHg9IjIwIiB5PSIyMCIgd2lkdGg9IjM2IiBoZWlnaHQ9IjMiIGZpbGw9IiM2YjNmMzAiIG9wYWNpdHk9IjAuNTUiLz4KICA8cmVjdCB4PSI2MCIgeT0iMjAiIHdpZHRoPSIzNiIgaGVpZ2h0PSIxNiIgZmlsbD0iIzZiM2YzMCIvPgogIDxyZWN0IHg9IjYwIiB5PSIyMCIgd2lkdGg9IjM2IiBoZWlnaHQ9IjMiIGZpbGw9IiM4NjUyM2YiIG9wYWNpdHk9IjAuNSIvPgo8L3N2Zz4K");
    background-size: 160px 80px;
    position: relative;
}

/* Dunkles Vignette-Overlay über der Backstein-Textur, damit Text darüber lesbar bleibt */
.ln-brick::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(13, 9, 6, .55), rgba(13, 9, 6, .78));
    pointer-events: none;
}

.ln-neon {
    color: #fff8f6;
    text-shadow:
        0 0 4px rgba(255, 255, 255, .8),
        0 0 11px var(--ln-neon-primary),
        0 0 19px var(--ln-neon-primary),
        0 0 40px var(--ln-neon-primary),
        0 0 80px var(--ln-neon-primary);
}

.ln-neon-gold {
    color: #fffaf0;
    text-shadow:
        0 0 4px rgba(255, 255, 255, .8),
        0 0 11px var(--ln-neon-gold),
        0 0 19px var(--ln-neon-gold),
        0 0 40px var(--ln-neon-gold);
}

@keyframes ln-flicker {
    0%, 3%, 6%, 100% { opacity: 1; }
    4% { opacity: .55; }
    5% { opacity: .9; }
}

.ln-flicker { animation: ln-flicker 6s infinite; }

@media (prefers-reduced-motion: reduce) {
    .ln-flicker { animation: none; }
}

/* =========================================================
   4. Kopfbereich & Navigation
   ========================================================= */
.site-header {
    position: relative;
    z-index: 20;
}

/* =========================================================
   5. Hero (auf allen Seiten, dient zugleich als Link zur Startseite)
   ========================================================= */
.ln-hero {
    padding: 90px 24px 110px;
    text-align: center;
}

.ln-hero-inner {
    max-width: 760px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.ln-hero-title {
    margin: 0 0 14px;
    font-size: clamp(2.4rem, 7vw, 4.4rem);
    font-family: var(--ln-font-display);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .03em;
    line-height: 1.15;
}

.ln-hero-title a {
    display: inline-block;
    transition: opacity .2s ease;
}

.ln-hero-title a:hover,
.ln-hero-title a:focus-visible {
    opacity: .85;
}

.ln-hero-tagline {
    font-family: var(--ln-font-body);
    text-transform: none;
    font-weight: 400;
    font-size: 1.15rem;
    color: var(--ln-ink-dim);
    max-width: 560px;
    margin: 0 auto;
}

/* Eigenes Header-Bild: immer vollständig sichtbar, nie zugeschnitten oder
   künstlich aufgefüllt. Breite = 100% der Auflösung, Höhe wird vom Browser
   anhand des Seitenverhältnisses des Bildes automatisch berechnet.
   Gleichzeitig ein Link zurück zur Startseite. */
.ln-hero-image {
    display: block;
    width: 100%;
    line-height: 0;
    transition: opacity .2s ease;
}

.ln-hero-image:hover,
.ln-hero-image:focus-visible {
    opacity: .92;
}

.ln-hero-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* =========================================================
   6. Inhalt
   ========================================================= */
.site-main {
    background: var(--ln-black);
}

.ln-container {
    max-width: var(--ln-max-width);
    margin: 0 auto;
    padding: 56px 24px;
}

.page-header {
    margin-bottom: 20px;
}

.page-title {
    display: inline-block;
    position: relative;
    padding-bottom: 12px;
}

.page-title::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 64px;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--ln-neon-primary), var(--ln-neon-gold));
}

.entry-content { color: var(--ln-ink); }

/* Blog-Auflistung (falls genutzt) */
.ln-post-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px; }

.ln-post-card {
    background: linear-gradient(160deg, var(--ln-black-soft), var(--ln-black));
    border: 1px solid rgba(255, 255, 255, .06);
    border-radius: var(--ln-radius);
    padding: 26px;
}

.ln-post-card h2 { margin-bottom: 8px; font-size: 1.4rem; }
.ln-post-card h2 a { color: var(--ln-ink); }
.ln-post-card h2 a:hover { color: var(--ln-neon-primary); }

.ln-post-meta {
    font-family: var(--ln-font-body);
    text-transform: none;
    letter-spacing: 0;
    font-size: .85rem;
    color: var(--ln-ink-dim);
    margin-bottom: 10px;
}

.ln-read-more {
    display: inline-block;
    margin-top: 10px;
    font-weight: 700;
    color: var(--ln-neon-primary);
}

/* =========================================================
   7. Gutenberg-Basisblöcke
   ========================================================= */
.entry-content .wp-block-button__link,
.entry-content input[type="submit"],
.entry-content button {
    display: inline-block;
    background: var(--ln-neon-primary);
    color: #fff;
    font-family: var(--ln-font-display);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    padding: 12px 26px;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
}

.entry-content .wp-block-button__link:hover,
.entry-content button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 59, 31, .4);
    color: #fff;
}

.entry-content blockquote {
    margin: 24px 0;
    padding: 18px 24px;
    border-left: 4px solid var(--ln-neon-primary);
    background: var(--ln-black-soft);
    font-style: italic;
    color: var(--ln-ink-dim);
}

.entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.entry-content table th,
.entry-content table td {
    padding: 10px 14px;
    border: 1px solid rgba(255, 255, 255, .12);
    text-align: left;
}

.entry-content table th {
    font-family: var(--ln-font-display);
    text-transform: uppercase;
    letter-spacing: .04em;
    background: var(--ln-black-soft);
}

.entry-content figcaption {
    font-size: .85rem;
    color: var(--ln-ink-dim);
    text-align: center;
    margin-top: 6px;
}

.entry-content ul, .entry-content ol { padding-left: 1.4em; }

.entry-content input,
.entry-content textarea,
.entry-content select {
    background: var(--ln-black-soft);
    border: 1px solid rgba(255, 255, 255, .18);
    color: var(--ln-ink);
    border-radius: 8px;
    padding: 10px 12px;
    font-family: var(--ln-font-body);
}

/* =========================================================
   8. Kommentare (minimal, falls aktiviert)
   ========================================================= */
.comments-area {
    max-width: var(--ln-max-width);
    margin: 0 auto;
    padding: 0 24px 56px;
}

.comment-list { list-style: none; margin: 0; padding: 0; }

.comment-body {
    background: var(--ln-black-soft);
    border-radius: var(--ln-radius);
    padding: 18px 20px;
    margin-bottom: 16px;
}

.comment-reply-title,
.comments-title { font-size: 1.3rem; }

/* =========================================================
   9. 404
   ========================================================= */
.ln-404 {
    text-align: center;
    padding: 90px 24px;
}

.ln-404 h1 { font-size: clamp(2.4rem, 8vw, 5rem); }

/* =========================================================
   10. Fußbereich
   ========================================================= */
.site-footer {
    position: relative;
    padding: 50px 24px 30px;
}

.site-footer-inner {
    max-width: var(--ln-max-width);
    margin: 0 auto;
    position: relative;
    z-index: 1;
    text-align: center;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    text-align: left;
    margin-bottom: 30px;
}

.footer-widgets .widget-title {
    font-family: var(--ln-font-display);
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--ln-neon-gold);
    margin-bottom: 10px;
    font-size: 1rem;
}

.site-footer nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 18px;
    margin: 0 0 14px;
    padding: 0;
}

.site-footer nav a {
    color: var(--ln-ink-dim);
    font-size: .85rem;
}

.site-footer nav a:hover { color: var(--ln-neon-primary); }

.site-footer-credit {
    font-size: .8rem;
    color: var(--ln-ink-dim);
}

/* =========================================================
   11. Responsive
   ========================================================= */
@media (max-width: 720px) {
    .ln-hero { padding: 64px 20px 76px; }
}
