/* Ergänzungen für lautenbacher.digital. Wird zusätzlich zu built/screen.css geladen und braucht keinen Build-Schritt. */

/* Farben der Reihen. Ghost setzt --ghost-accent-color site-weit; die Reihen überschreiben sie. */
/* Dawn leitet --brand-color einmalig auf :root ab, deshalb wird es hier mit überschrieben. */
.lb-series-zugemutet {
    --ghost-accent-color: #6E2A3C;
    --brand-color: #6E2A3C;
    --lb-accent: #6E2A3C;
}

.lb-series-loc {
    --ghost-accent-color: #1F5F5B;
    --brand-color: #1F5F5B;
    --lb-accent: #1F5F5B;
}

/* Sekundärgrau von #999 auf #6B6B6B, damit Metadaten auf Weiß lesbar bleiben (Kontrast über 4,5 : 1). */
html:not(.theme-dark) {
    --color-secondary-text: #6B6B6B;
    --secondary-text-color: #6B6B6B;
}

:root {
    --lb-ink: #15171A;
    --lb-text: #333333;
    --lb-muted: #6B6B6B;
    --lb-line: #E6E6E6;
    --lb-tint: #F6F6F6;
}

.lb-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    border: 0;
}

/* Buttons */
.lb-btn {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 22px;
    border: 0;
    border-radius: 4px;
    background: var(--lb-accent, var(--ghost-accent-color));
    color: #FFFFFF;
    font-family: inherit;
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.lb-btn:hover {
    opacity: 0.9;
    color: #FFFFFF;
}

.lb-btn-outline {
    border: 1px solid var(--lb-line);
    background: transparent;
    color: var(--lb-ink);
}

.lb-btn-outline:hover {
    color: var(--lb-ink);
    border-color: var(--lb-muted);
}

.lb-btn-dark {
    background: var(--lb-ink);
}

/* Startseite: Einstieg */
.lb-hero-inner {
    padding-top: 7.2rem;
    padding-bottom: 8.8rem;
    border-top: 1px solid var(--lb-line);
}

.lb-kicker {
    margin: 0 0 2rem;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--lb-muted);
}

.lb-hero-title {
    max-width: 760px;
    margin: 0;
    font-size: clamp(3.4rem, 5vw, 4.8rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: var(--lb-ink);
}

.lb-hero-text {
    max-width: 640px;
    margin-top: 2.8rem;
}

.lb-hero-text > p:first-child {
    font-size: 1.9rem;
    line-height: 1.65;
    color: var(--lb-text);
}

.lb-hero-text > p + p {
    margin-top: 1.6rem;
    font-size: 1.7rem;
    color: var(--lb-muted);
}

/* Startseite: Karten der Reihen */
.lb-cards-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 3.2rem;
    padding-bottom: 3.2rem;
}

.lb-card {
    display: flex;
    flex: 1 1 380px;
    flex-direction: column;
    gap: 2rem;
    min-width: 0;
    padding: 4rem;
    border: 1px solid var(--lb-line);
    border-radius: 6px;
}

.lb-card-mark {
    width: 72px;
    height: 72px;
    margin: -0.4rem 0 -0.4rem -0.6rem;
}

.lb-card-title {
    margin: 0;
    font-size: 3rem;
    font-weight: 800;
    color: var(--lb-ink);
}

.lb-card-lead {
    margin: 0;
    font-size: 1.7rem;
    line-height: 1.6;
    color: var(--lb-text);
}

.lb-card-meta,
.lb-series-meta {
    margin: 0;
    font-size: 1.4rem;
    color: var(--lb-muted);
}

.lb-card-latest {
    padding-top: 1.8rem;
    border-top: 1px solid var(--lb-line);
}

.lb-card-latest-label {
    margin: 0 0 0.6rem;
    font-size: 1.3rem;
    color: var(--lb-muted);
}

.lb-card-latest a {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--lb-ink);
    text-decoration: none;
}

.lb-card-latest a:hover {
    color: var(--lb-accent);
}

.lb-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1.2rem;
    margin-top: auto;
    padding-top: 0.8rem;
}

/* Startseite: Band Fotografie */
.lb-band-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.6rem 4rem;
    margin-bottom: 9.6rem;
    padding: 2.8rem 4rem;
    border: 1px solid var(--lb-line);
    border-radius: 6px;
}

.lb-band-text {
    flex: 1 1 360px;
    min-width: 0;
}

.lb-band-title {
    margin: 0 0 0.6rem;
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--lb-ink);
}

.lb-band-text p {
    margin: 0;
    font-size: 1.5rem;
    color: var(--lb-text);
}

.lb-band-link {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    min-height: 44px;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--lb-ink);
    text-decoration: none;
}

/* Startseite: Anmeldung */
.lb-signup-section {
    background: var(--lb-tint);
}

.lb-signup-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 3.2rem 6.4rem;
    padding-top: 6.4rem;
    padding-bottom: 6.4rem;
}

.lb-signup-intro {
    flex: 1 1 320px;
    min-width: 0;
}

.lb-signup-intro h2 {
    margin: 0 0 1.2rem;
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--lb-ink);
}

.lb-signup-intro p {
    margin: 0;
    font-size: 1.6rem;
    color: var(--lb-text);
}

/* Formulare */
.lb-form {
    display: flex;
    flex-direction: column;
    gap: 1.6rem;
    min-width: 0;
}

.lb-signup {
    flex: 1 1 420px;
}

.lb-label {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--lb-ink);
}

.lb-input {
    min-height: 48px;
    padding: 0 1.6rem;
    border: 1px solid #CCCCCC;
    border-radius: 4px;
    background: #FFFFFF;
    font-family: inherit;
    font-size: 1.6rem;
}

.lb-choices {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.8rem 2.8rem;
    margin: 0;
    padding: 0;
    border: 0;
}

.lb-choice {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 1rem;
    min-height: 44px;
    font-size: 1.5rem;
    color: var(--lb-text);
}

.lb-choice input[type="checkbox"] {
    -webkit-appearance: auto;
    -moz-appearance: auto;
    appearance: auto;
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin: 0;
    padding: 0;
    border: 0;
}

.lb-choice-zugemutet input {
    accent-color: #6E2A3C;
}

.lb-choice-loc input {
    accent-color: #1F5F5B;
}

.lb-signup .lb-btn {
    align-self: flex-start;
}

.lb-subscribe {
    flex: 0 0 auto;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
}

.lb-subscribe .lb-input {
    flex: 1 1 260px;
    width: auto;
}

.lb-subscribe .lb-btn {
    flex: 0 0 auto;
    height: 44px;
}

.lb-form-msg {
    display: none;
    flex-basis: 100%;
    margin: 0;
    font-size: 1.4rem;
}

.lb-form-hint {
    margin: 0;
    font-size: 1.4rem;
    color: #9B2C2C;
}

/* Ghost setzt beim Absenden die Klassen success, error und loading auf das Formular. */
.lb-form.success .lb-form-success,
.lb-form.error .lb-form-error {
    display: block;
}

.lb-form.success .lb-input,
.lb-form.success .lb-btn,
.lb-form.success .lb-choices,
.lb-form.success .lb-label {
    display: none;
}

.lb-form.loading .lb-btn {
    opacity: 0.6;
    pointer-events: none;
}

/* Kopf der Reihen-Übersicht */
.lb-series-cover-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.6rem;
    padding-top: 6.4rem;
    padding-bottom: 5.6rem;
    text-align: center;
}

.lb-series-mark {
    width: 104px;
    height: 104px;
}

.lb-series-name {
    margin: 0;
    font-size: clamp(3.2rem, 5vw, 4.4rem);
    font-weight: 800;
    color: var(--lb-ink);
}

.lb-series-lead {
    max-width: 620px;
    margin: 0;
    font-size: 1.9rem;
    line-height: 1.55;
    color: var(--lb-text);
}

.lb-series-intro {
    max-width: 640px;
    font-size: 1.7rem;
    line-height: 1.6;
    color: var(--lb-text);
}

.lb-series-intro p {
    margin: 0 0 1.2rem;
}

.lb-series-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem 2.4rem;
    font-size: 1.5rem;
}

.lb-series-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--lb-ink);
    text-decoration: none;
}

.lb-series-nav a:hover {
    color: var(--lb-accent);
}

.lb-lang-note {
    margin: 0;
    font-size: 1.4rem;
    color: var(--lb-muted);
}

/* Kennung der Reihe über Beiträgen */
.lb-badge {
    margin-top: 4rem;
}

.lb-badge-link {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    min-height: 44px;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--lb-ink);
    text-decoration: none;
}

.lb-badge-link img {
    width: 32px;
    height: 32px;
}

.lb-badge + .single .single-header {
    padding-top: 2rem;
}

@media (max-width: 767px) {
    .lb-card,
    .lb-band-inner {
        padding: 2.8rem;
    }

    .lb-hero-inner {
        padding-top: 4.8rem;
        padding-bottom: 5.6rem;
    }
}

/* Autorenname neben dem Foto am Beitragsende */
.author-list {
    align-items: center;
}

.lb-author-name {
    margin-left: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--lb-ink);
    text-decoration: none;
}

/* Karussell: Format 16:10 statt 2:1, damit die Karten ruhig nebeneinander stehen. */
.featured-wrapper .u-placeholder.horizontal:before {
    padding-bottom: 62.5%;
}

/* Beitragsbild im Artikel: eigenes Format, kein Beschnitt.
   Hochformate werden auf 85 % der Fensterhöhe begrenzt und mittig gezeigt. */
.single-media .u-placeholder.horizontal {
    background-color: transparent;
}

.single-media .u-placeholder.horizontal:before {
    display: none;
}

.single-media .u-placeholder.horizontal .u-object-fit {
    position: static;
    display: block;
    width: 100%;
    height: auto;
    max-height: 85vh;
    object-fit: contain;
}
