:root{--ink:#1a302b;--muted:#6d756e;--paper:#f7f5ef;--white:#fff;--accent:#7d3d4b;--gold:#b99a60}*{box-sizing:border-box}body{margin:0;font:16px/1.65 system-ui,Arial,sans-serif;color:var(--ink);background:var(--paper)}a{color:inherit;text-decoration:none}a:hover{color:var(--accent)}.topline{background:var(--ink);color:#fff;font-size:12px;text-align:center;letter-spacing:2px;padding:8px}.mast{background:#fff;text-align:center;padding:28px 15px 20px;border-bottom:1px solid #d7d5cc}.mast a{font:700 clamp(32px,6vw,68px)/1 Georgia,serif;letter-spacing:2px}.mast p{margin:9px 0 0;color:var(--muted);letter-spacing:2px;font-size:12px;text-transform:uppercase}.nav{background:white;border-bottom:2px solid var(--ink);display:flex;gap:25px;justify-content:center;flex-wrap:wrap;padding:12px 20px;font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:.5px}.wrap{max-width:1150px;margin:auto;padding:0 22px}.section{padding:48px 0}.label{font-size:12px;font-weight:800;color:var(--accent);text-transform:uppercase;letter-spacing:2px}.headline{font:700 clamp(32px,4vw,54px)/1.12 Georgia,serif;margin:12px 0 20px}.feature{display:grid;grid-template-columns:1.3fr 1fr;background:#fff;border:1px solid #e0ded5;min-height:370px}.feature .copy{padding:44px}.feature .art{background:linear-gradient(140deg,#234c40,#8c684c);min-height:300px}.feature img,.thumb img{width:100%;height:100%;object-fit:cover;display:block}.feature p{color:var(--muted)}.button{display:inline-block;background:var(--ink);color:white;padding:11px 20px;border:0;cursor:pointer;font:700 14px system-ui}.button:hover{color:white;background:var(--accent)}.divider{border-bottom:2px solid var(--ink);padding-bottom:10px;margin:15px 0 24px;font:700 27px Georgia,serif}.grid{display:grid;grid-template-columns:repeat(3,1fr);gap:25px}.card{background:#fff;border:1px solid #e0ded5;overflow:hidden}.thumb{height:175px;background:linear-gradient(130deg,#2b5144,#b99a60)}.card .copy{padding:20px}.card h3{font:700 25px/1.2 Georgia,serif;margin:8px 0}.card p{color:var(--muted);font-size:14px}.date{font-size:12px;color:var(--muted)}.article{max-width:780px;margin:55px auto 80px;padding:0 22px}.article h1{font:700 clamp(36px,5vw,58px)/1.1 Georgia,serif}.article .body{font:19px/1.85 Georgia,serif;white-space:pre-wrap}.article .cover{width:100%;max-height:480px;object-fit:cover}.empty{padding:45px;background:#fff;border:1px solid #e0ded5}.footer{background:var(--ink);color:#fff;margin-top:60px;padding:38px 22px;text-align:center;font-size:13px}.footer a{text-decoration:underline}.admin{max-width:900px;margin:40px auto;padding:0 20px}.panel{background:#fff;padding:25px;border:1px solid #ddd8cb;margin:20px 0}label{display:block;font-weight:700;margin-top:13px}input,textarea,select{display:block;width:100%;font:inherit;padding:10px;border:1px solid #b9b9b0;background:#fff}textarea{min-height:160px}input[type=checkbox]{display:inline;width:auto;margin-right:8px}.row{display:flex;gap:16px;flex-wrap:wrap;align-items:center}.row>*{flex:1}.notice{color:var(--accent);font-weight:600}.admin-item{padding:14px 0;border-bottom:1px solid #ddd}.admin-item button{margin:5px 8px 5px 0}button{cursor:pointer}@media(max-width:750px){.feature{grid-template-columns:1fr}.feature .art{min-height:220px;grid-row:1}.feature .copy{padding:25px}.grid{grid-template-columns:1fr}.nav{gap:12px;font-size:11px}}
/* =========================================
   PALATINA CAVISTE – REDAKTIONS-DASHBOARD
   ========================================= */

.admin {
    max-width: 1100px;
    margin: 45px auto;
}

.admin h1,
.admin h2 {
    font-family: Georgia, serif;
    color: #641d35;
}

.admin h1 {
    font-size: 34px;
}

.admin h2 {
    font-size: 25px;
    border-bottom: 2px solid #c4a064;
    padding-bottom: 12px;
    margin-bottom: 22px;
}

.admin .panel {
    background: #fffdf9;
    border: 1px solid #e2d8c9;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 22px rgba(50, 25, 30, 0.05);
}

/* Statistik-Kacheln */

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin: 24px 0 38px;
}

.stat-card {
    background: #f6f0e5;
    border: 1px solid #e2d5be;
    border-top: 4px solid #c4a064;
    border-radius: 10px;
    padding: 25px 15px;
    text-align: center;
}

.stat-card strong {
    display: block;
    font: 700 42px Georgia, serif;
    color: #641d35;
}

.stat-card span {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #66564f;
}

/* Artikelsuche */

#articleSearch {
    width: 100%;
    padding: 13px 16px;
    border: 1px solid #d7c8b8;
    border-radius: 8px;
    margin: 10px 0 25px;
}

#articleSearch:focus {
    outline: 2px solid #c4a064;
    outline-offset: 2px;
}

/* Artikelübersicht */

.admin-item {
    background: #ffffff;
    border: 1px solid #e8e0d5;
    border-left: 4px solid #641d35;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 14px;
    line-height: 1.8;
}

.admin-item strong {
    font-family: Georgia, serif;
    font-size: 20px;
    color: #641d35;
}

.admin-item button,
.admin-item a {
    display: inline-block;
    background: #f6f0e5;
    border: 1px solid #ddcdb8;
    border-radius: 6px;
    padding: 7px 13px;
    font: 600 13px system-ui, sans-serif;
    color: #641d35;
    margin: 8px 8px 0 0;
}

.admin-item button:hover,
.admin-item a:hover {
    background: #641d35;
    color: white;
}

/* Redaktions-Schaltflächen */

.admin .button {
    background: #641d35;
    border-radius: 7px;
}

.admin .button:hover {
    background: #842a48;
}

/* Smartphone-Ansicht */

@media (max-width: 650px) {
    .dashboard-stats {
        grid-template-columns: 1fr;
    }

    .admin .panel {
        padding: 18px;
    }

    .admin h1 {
        font-size: 27px;
    }
}
/* Artikelstatus */

.article-status {
    display: inline-block;
    padding: 4px 12px;
    margin: 0 0 12px 0;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
}

.status-published {
    background: #e2f1e7;
    color: #24633b;
}

.status-draft {
    background: #f6ead2;
    color: #805b20;
}
/* PALATINA CAVISTE - TEXTEDITOR */

.article-editor {
    margin: 20px 0;
}

.editor-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0;
}

.editor-toolbar button {
    background: #f6f0e5;
    border: 1px solid #c4a064;
    border-radius: 6px;
    padding: 9px 14px;
    color: #641d35;
    font-weight: 600;
    cursor: pointer;
}

.editor-toolbar button:hover {
    background: #641d35;
    color: white;
}

#articleBody {
    width: 100%;
    min-height: 350px;
    padding: 16px;
    line-height: 1.7;
    box-sizing: border-box;
}

.article-preview {
    background: #fffdf9;
    border: 1px solid #e2d8c9;
    border-radius: 8px;
    padding: 22px;
    min-height: 100px;
    line-height: 1.7;
}

.article-preview h2,
.article-preview h3,
.article-preview h4 {
    color: #641d35;
}
/* PALATINA CAVISTE – BILDER IM ARTIKEL */

.article-image {
    margin: 28px 0;
    width: 100%;
    text-align: center;
}

.article-image img {
    display: block;
    max-width: 100%;
    width: auto;
    height: auto;
    margin: 0 auto;
    border-radius: 8px;
}

.article-image figcaption {
    margin-top: 10px;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #777;
    font-style: italic;
}
/* ==========================================
   PALATINA CAVISTE – PREMIUM ARTIKELLAYOUT
   ========================================== */

.article {
    max-width: 860px;
    margin: 65px auto 100px;
    padding: 0 28px;
}

.article h1 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(38px, 5vw, 62px);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.8px;
    margin: 18px 0 25px;
    color: var(--ink);
}

.article > p {
    font-size: 21px;
    line-height: 1.7;
    color: var(--muted);
    margin-bottom: 32px;
}

.article .cover {
    display: block;
    width: 100%;
    max-height: 540px;
    object-fit: cover;
    border-radius: 6px;
    margin: 35px 0 45px;
}

.article .body {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 19px;
    line-height: 1.85;
    white-space: normal;
    overflow-wrap: anywhere;
}

.article .body p {
    margin: 0 0 1.5em;
}

.article .body h2 {
    font-size: clamp(28px, 3.5vw, 38px);
    line-height: 1.3;
    margin: 55px 0 20px;
}

.article .body h3 {
    font-size: 27px;
    line-height: 1.35;
    margin: 38px 0 16px;
}

.article .body h4 {
    font-size: 22px;
    margin: 28px 0 12px;
}

.article .body ul {
    padding-left: 28px;
    margin: 20px 0 30px;
}

.article .body li {
    margin-bottom: 10px;
}

@media (max-width: 600px) {
    .article {
        margin: 35px auto 65px;
        padding: 0 18px;
    }

    .article .body {
        font-size: 17px;
        line-height: 1.75;
    }

    .article > p {
        font-size: 18px;
    }
}
/* ==========================================
   PALATINA CAVISTE – ELEGANTE BILDGESTALTUNG
   ========================================== */

/* Großes Titelbild */
.article .cover {
    display: block;
    width: 100%;
    height: auto;
    max-height: 560px;
    object-fit: cover;
    border-radius: 10px;
    margin: 38px 0 48px;
    box-shadow: 0 8px 28px rgba(20, 40, 30, 0.10);
}

/* Bilder innerhalb der Artikel */
.article .article-image {
    margin: 42px 0;
    padding: 0;
    text-align: center;
}

.article .article-image img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: 650px;
    height: auto;
    object-fit: contain;
    margin: 0 auto;
    border-radius: 8px;
}

/* Elegante Bildunterschriften */
.article .article-image figcaption {
    max-width: 680px;
    margin: 14px auto 0;
    padding: 12px 15px 0;
    border-top: 1px solid #ded8ca;

    font-family: Georgia, "Times New Roman", serif;
    font-size: 15px;
    font-style: italic;
    line-height: 1.6;
    color: #77736b;
}

/* Anpassung für Smartphones */
@media (max-width: 600px) {
    .article .cover {
        margin: 25px 0 32px;
        border-radius: 6px;
    }

    .article .article-image {
        margin: 30px 0;
    }

    .article .article-image img {
        max-height: 450px;
    }

    .article .article-image figcaption {
        font-size: 13px;
        padding: 10px 8px 0;
    }
}
/* ==========================================
   PALATINA CAVISTE – MAGAZIN ARTIKELKOPF
   ========================================== */

/* Kategorie und Datum */
.article > .label {
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 22px;
}

/* Artikelüberschrift */
.article > h1 {
    max-width: 780px;
    margin: 0 auto 28px;
    text-align: center;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(38px, 5vw, 62px);
    line-height: 1.17;
    letter-spacing: -0.8px;
    color: var(--ink);
}

/* Einleitung */
.article > p:first-of-type {
    max-width: 720px;
    margin: 0 auto 35px;
    text-align: center;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(19px, 2.5vw, 23px);
    line-height: 1.7;
    font-style: italic;
    color: #77736b;
}

/* Feine Trennlinie unter der Einleitung */
.article > p:first-of-type::after {
    content: "";
    display: block;
    width: 75px;
    height: 2px;
    background: var(--gold);
    margin: 28px auto 0;
}

/* Smartphone */
@media (max-width: 600px) {
    .article > .label {
        font-size: 10px;
        letter-spacing: 1.5px;
    }

    .article > h1 {
        font-size: 36px;
    }

    .article > p:first-of-type {
        font-size: 18px;
    }
}
/* PALATINA CAVISTE – Autorenangabe und Lesezeit */

.article-meta {
    text-align: center;
    font-family: system-ui, Arial, sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--muted);
    margin: -5px 0 35px;
}

@media (max-width: 600px) {
    .article-meta {
        font-size: 12px;
        line-height: 1.7;
    }
}
/* PALATINA CAVISTE – Artikel-Fußzeile */

.article-end {
    margin: 65px 0 25px;
    padding: 30px 15px;
    border-top: 2px solid var(--gold);
    text-align: center;
}

.article-end-brand {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 23px;
    font-weight: bold;
    color: var(--ink);
}

.article-end-subtitle {
    margin: 8px 0 25px;
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--muted);
}

.article-end .button {
    border-radius: 4px;
}

@media (max-width: 600px) {
    .article-end {
        margin-top: 40px;
    }

    .article-end-brand {
        font-size: 20px;
    }
}
/* ==========================================
   PALATINA CAVISTE – MAGAZIN STARTSEITE
   ========================================== */

/* Titelgeschichte */
.feature {
    border: 1px solid #e4dfd4;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 35px rgba(20, 40, 30, 0.06);
}

.feature .copy {
    padding: 55px 48px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.feature .headline {
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(34px, 4vw, 52px);
    line-height: 1.15;
    margin: 18px 0 22px;
}

.feature .copy p {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 19px;
    line-height: 1.75;
    margin-bottom: 28px;
}

.feature .art {
    min-height: 400px;
}

.feature .art img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Weitere Geschichten */
.grid {
    gap: 28px;
}

.card {
    border-radius: 8px;
    box-shadow: 0 5px 22px rgba(20, 40, 30, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(20, 40, 30, 0.11);
}

.card .thumb {
    height: 210px;
}

.card .copy {
    padding: 24px;
}

.card h3 {
    font-family: Georgia, "Times New Roman", serif;
    line-height: 1.25;
}

.card .copy p {
    line-height: 1.7;
}

/* Smartphone */
@media (max-width: 750px) {
    .feature {
        grid-template-columns: 1fr;
    }

    .feature .art {
        grid-row: 1;
        min-height: 260px;
    }

    .feature .copy {
        padding: 28px 24px;
    }

    .feature .copy p {
        font-size: 17px;
    }

    .grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .card {
        transition: none;
    }
}
/* PALATINA CAVISTE – Versteckte Elemente ausblenden */

[hidden] {
    display: none !important;
}
/* ==========================================
   PALATINA CAVISTE – ELEGANTE MAGAZINRUBRIKEN
   ========================================== */

.magazine-sections {
    margin-top: 65px;
}

.magazine-section {
    margin-bottom: 70px;
}

/* Rubrikenüberschriften */
.magazine-section > .divider {
    position: relative;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(26px, 3vw, 34px);
    font-weight: 700;
    color: var(--ink);
    border-bottom: 1px solid #dcd6c8;
    border-left: 5px solid var(--gold);
    padding: 0 0 16px 20px;
    margin-bottom: 30px;
}

/* Artikelraster */
.magazine-section .grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

/* Artikelkarten */
.magazine-section .card {
    background: #fff;
    border: 1px solid #e6e0d5;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.magazine-section .card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(20, 40, 30, 0.10);
}

/* Artikelbilder */
.magazine-section .thumb {
    height: 210px;
    overflow: hidden;
}

.magazine-section .thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Artikeltexte */
.magazine-section .card .copy {
    padding: 24px;
}

.magazine-section .card h3 {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 24px;
    line-height: 1.3;
}

.magazine-section .card p {
    font-size: 15px;
    line-height: 1.7;
}

/* Tablets */
@media (max-width: 950px) {
    .magazine-section .grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Smartphones */
@media (max-width: 600px) {
    .magazine-sections {
        margin-top: 40px;
    }

    .magazine-section {
        margin-bottom: 45px;
    }

    .magazine-section .grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .magazine-section > .divider {
        font-size: 26px;
        padding-left: 15px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .magazine-section .card {
        transition: none;
    }
}
/* PALATINA CAVISTE – Frisch aus der Redaktion */

.editorial-latest {
    margin: 45px 0 65px;
    padding: 30px 35px;
    background: #faf8f3;
    border-top: 3px solid #b39455;
    border-bottom: 1px solid #ded8cc;
}

.editorial-latest h2 {
    margin: 0 0 25px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(25px, 3vw, 34px);
    color: #243c30;
}

.editorial-latest-item {
    display: flex;
    gap: 22px;
    padding: 18px 0;
    border-top: 1px solid #e5dfd3;
}

.editorial-latest-number {
    min-width: 35px;
    font-family: Georgia, serif;
    font-size: 28px;
    color: #b39455;
}

.editorial-latest-item > div {
    flex: 1;
    min-width: 0;
}

.editorial-latest-meta {
    margin-bottom: 7px;
    font-size: 12px;
    letter-spacing: 0.7px;
    text-transform: uppercase;
    color: #77766e;
}

.editorial-latest-item a {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 20px;
    line-height: 1.4;
    font-weight: 600;
    color: #243c30;
    text-decoration: none;
}

.editorial-latest-item a:hover {
    color: #a27e38;
    text-decoration: underline;
}

@media (max-width: 600px) {
    .editorial-latest {
        margin: 30px 0 45px;
        padding: 22px 18px;
    }

    .editorial-latest-item {
        gap: 14px;
    }

    .editorial-latest-number {
        font-size: 23px;
        min-width: 28px;
    }

    .editorial-latest-item a {
        font-size: 18px;
    }
}
/* PALATINA CAVISTE – Smartphone-Navigation */

@media (max-width: 600px) {

    .nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        padding: 12px 15px;
        font-size: 12px;
        text-align: center;
    }

    .nav a {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 44px;
        padding: 8px 5px;
        line-height: 1.3;
        border: 1px solid #e0ded5;
        background: #faf8f3;
    }

    .nav a:hover,
    .nav a:focus-visible {
        background: #1a302b;
        color: #ffffff;
    }
}
/* PALATINA CAVISTE – Mobile Titelgeschichte */

@media (max-width: 600px) {

    .feature {
        grid-template-columns: minmax(0, 1fr);
        min-height: 0;
        border-radius: 6px;
    }

    .feature .art {
        min-height: 0;
        height: 240px;
        grid-row: 1;
    }

    .feature .copy {
        padding: 26px 20px 30px;
    }

    .feature .headline {
        font-size: clamp(28px, 7vw, 36px);
        line-height: 1.18;
        margin: 14px 0 18px;
        overflow-wrap: break-word;
    }

    .feature .copy p {
        font-size: 16px;
        line-height: 1.65;
        margin-bottom: 22px;
    }

    .feature .button {
        padding: 12px 18px;
        font-size: 13px;
    }
}
/* PALATINA CAVISTE – Mobile Artikelkarten */

@media (max-width: 600px) {

    .magazine-section .card {
        border-radius: 7px;
    }

    .magazine-section .thumb {
        height: 230px;
    }

    .magazine-section .card .copy {
        padding: 20px;
    }

    .magazine-section .card h3 {
        font-size: 22px;
        line-height: 1.3;
        overflow-wrap: break-word;
    }

    .magazine-section .card p {
        font-size: 15px;
        line-height: 1.6;
    }
}
/* PALATINA CAVISTE – Mobile Artikel-Leseansicht */

@media (max-width: 600px) {

    .article {
        margin: 30px auto 55px;
        padding: 0 18px;
        min-width: 0;
    }

    .article .body {
        font-size: 18px;
        line-height: 1.8;
        overflow-wrap: break-word;
    }

    .article > h1 {
        font-size: clamp(29px, 8vw, 36px);
        line-height: 1.2;
        overflow-wrap: break-word;
    }

    .article .cover {
        max-width: 100%;
        height: auto;
    }
}
/* PALATINA CAVISTE – Artikelsuche */

.magazine-search {
    margin-top: 30px;
    margin-bottom: 0;
}

.magazine-search form {
    max-width: 780px;
    margin: 0 auto;
    padding: 22px 28px;
    background: #faf8f3;
    border: 1px solid #e0ded5;
    border-top: 3px solid var(--gold);
    border-radius: 6px;
}

.magazine-search label {
    margin: 0 0 12px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 21px;
    color: var(--ink);
}

.magazine-search-row {
    display: flex;
    gap: 12px;
}

.magazine-search input {
    flex: 1;
    min-width: 0;
    width: auto;
    border-radius: 4px;
}

.magazine-search .button {
    flex-shrink: 0;
}

/* Smartphone */
@media (max-width: 600px) {
    .magazine-search {
        margin-top: 20px;
    }

    .magazine-search form {
        padding: 18px;
    }

    .magazine-search-row {
        flex-direction: column;
    }

    .magazine-search .button {
        width: 100%;
        min-height: 44px;
    }
}
/* PALATINA CAVISTE – Suchergebnisse */

.search-results {
    padding-top: 25px;
    padding-bottom: 50px;
}

.search-results .headline {
    margin-bottom: 12px;
}

.search-count {
    font-size: 15px;
    color: #777;
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #ddd;
}

.search-results .grid {
    margin-top: 20px;
}

.search-results .empty {
    padding: 35px 25px;
    background: #f7f5f0;
    border-radius: 8px;
    line-height: 1.7;
}

@media (max-width: 768px) {
    .search-results {
        padding-top: 15px;
    }

    .search-results .headline {
        font-size: 28px;
        line-height: 1.2;
    }

    .search-count {
        margin-bottom: 20px;
    }
}