:root {
    --bg: #08111f;
    --bg2: #101b2d;
    --panel: rgba(14, 25, 43, 0.78);
    --panel-strong: rgba(14, 25, 43, 0.94);
    --glass: rgba(255, 255, 255, 0.08);
    --glass-strong: rgba(255, 255, 255, 0.13);
    --line: rgba(255, 255, 255, 0.14);
    --text: #f4f7fb;
    --muted: #aab7c8;
    --accent: #ff7a59;
    --accent-dark: #e85f42;
    --blue: #60cffe;
    --green: #2dd4bf;
    --danger: #ef4444;
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Exo 2", Calibri, Candara, "Segoe UI", Segoe, Optima, Arial, system-ui, -apple-system, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 20% 10%, rgba(96, 207, 254, 0.18), transparent 56rem),
        radial-gradient(circle at 78% 18%, rgba(255, 122, 89, 0.18), transparent 25rem),
        linear-gradient(180deg, #07101d 0%, #0c1625 45%, #08111f 100%);
    min-height: 100vh;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    /* Die Alpha-Werte der Overlays wurden hier stark reduziert (0.92 -> 0.40 / 0.46 -> 0.15 etc.) */
    background:
        linear-gradient(90deg, rgba(8, 17, 31, 0.40), rgba(8, 17, 31, 0.15), rgba(8, 17, 31, 0.35)),
        linear-gradient(180deg, rgba(8, 17, 31, 0.05), rgba(8, 17, 31, 0.45)),
        url("hero.jpg") center top / cover no-repeat;
    z-index: -2;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(2, 6, 23, 0.10); /* Von 0.28 auf 0.10 reduziert für weniger Abdunklung */
    backdrop-filter: blur(0.5px);     /* Von 1.5px auf 0.5px reduziert für ein schärferes Bild */
    z-index: -1;
    pointer-events: none;
}

.site-nav,
nav {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    width: min(1180px, calc(100% - 2rem));
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    padding: 0.75rem 0.9rem;
    color: white;
    background: rgba(10, 18, 32, 0.58);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    box-shadow: 0 18px 54px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(18px);
}

.nav-main-row {
    display: grid;
    grid-template-columns: minmax(190px, 1fr) auto minmax(210px, 1fr);
    gap: 1rem;
    align-items: center;
    width: 100%;
}

.nav-sub-row {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    padding-top: 0.45rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-left,
.nav-menu,
.nav-search {
    display: flex;
    align-items: center;
}

.nav-left {
    min-width: 0;
}

.nav-menu {
    justify-content: center;
    gap: 0.35rem;
    padding: 0.2rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.055);
}

.nav-menu-main,
.nav-menu-sub {
    flex-wrap: wrap;
}

.nav-menu-sub {
    justify-content: flex-end;
}

.nav-search {
    justify-content: flex-end;
    gap: 0.45rem;
    min-width: 0;
}

nav a {
    color: var(--text);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.92rem;
    padding: 0.58rem 0.85rem;
    border-radius: 15px;
    transition: background 0.2s ease, transform 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

nav a:hover {
    background: rgba(96, 207, 254, 0.18);
    color: white;
    transform: translateY(-1px);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.2rem 0.3rem;
}

.nav-brand:hover {
    background: transparent;
    transform: none;
}

.nav-brand img {
    width: 44px;
    height: 44px;
    object-fit: cover;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.11);
    border: 1px solid rgba(255, 255, 255, 0.14);
}

.nav-brand span {
    display: grid;
    gap: 0.1rem;
    line-height: 1.1;
}

.nav-brand strong {
    font-size: 1.02rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.nav-brand small {
    color: var(--muted);
    font-size: 0.77rem;
    font-weight: 500;
    white-space: nowrap;
}

nav input {
    width: min(220px, 100%);
    padding: 0.65rem 0.8rem;
    color: var(--text);
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 15px;
    outline: none;
}

nav input::placeholder {
    color: rgba(244, 247, 251, 0.62);
}

nav button,
button,
.btn {
    background: linear-gradient(135deg, var(--accent), #ff9d62);
    color: white;
    border: none;
    padding: 0.68rem 1rem;
    border-radius: 15px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    font-weight: 800;
    box-shadow: 0 12px 28px rgba(255, 122, 89, 0.26);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

nav button:hover,
button:hover,
.btn:hover {
    filter: brightness(1.05);
    transform: translateY(-1px);
    box-shadow: 0 16px 34px rgba(255, 122, 89, 0.34);
}

.btn,
.btn:visited {
    color: white !important;
}

.ghost-btn {
    background: rgba(255, 255, 255, 0.11);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: none;
}

.info {
    background: linear-gradient(135deg, #0ea5e9, #38bdf8);
    box-shadow: 0 12px 28px rgba(96, 207, 254, 0.22);
}

.danger {
    background: linear-gradient(135deg, #b91c1c, #ef4444);
}

.warning {
    background: linear-gradient(135deg, #b45309, #f59e0b);
}

main {
    width: min(1180px, calc(100% - 2rem));
    margin: var(--nav-main-offset, 7.5rem) auto 3rem;
}

.hero {
    min-height: 520px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    overflow: hidden;
    border-radius: 34px;
    padding: clamp(2rem, 5vw, 4rem);
    /* Alpha-Werte des Overlays stark reduziert (0.92 -> 0.40 / 0.34 -> 0.10 / 0.75 -> 0.30) */
    background:
        linear-gradient(100deg, rgba(8, 17, 31, 0.60) 0%, rgba(8, 17, 31, 0.20) 55%, rgba(8, 17, 31, 0.50) 100%),
        url("hero.jpg") center center / cover no-repeat;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: var(--shadow);
}

.hero::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 38%;
    /* Unten leicht abgemildert (0.92 -> 0.65), damit Text im unteren Bereich lesbar bleibt */
    background: linear-gradient(180deg, transparent, rgba(8, 17, 31, 0.85));
    pointer-events: none;
}

.hero-content,
.hero-stats {
    position: relative;
    z-index: 1;
}

.eyebrow {
    margin: 0 0 0.8rem;
    color: var(--blue);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.hero h1 {
    max-width: 880px;
    margin: 0;
    font-size: clamp(1.8rem, 5.1vw, 5.1rem);
    line-height: 0.95;
    letter-spacing: -0.07em;
    text-shadow: 0 8px 28px rgba(0, 0, 0, 0.38);
}

.hero-text {
    max-width: 610px;
    margin: 1.2rem 0 0;
    color: #d5deea;
    font-size: clamp(1rem, 2vw, 1.22rem);
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-top: 1.8rem;
}

.hero-btn {
    padding-inline: 1.4rem;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(130px, 1fr));
    gap: 0.8rem;
    max-width: 620px;
    margin-top: 2.5rem;
}

.hero-stats div {
    padding: 1rem;
    border-radius: 20px;
    background: rgba(12, 25, 44, 0.66);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
}

.hero-stats span {
    display: block;
    color: #ff9d62;
    font-size: 1.35rem;
    font-weight: 900;
}

.hero-stats small {
    /* color: var(--muted); */
}

.content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 1rem;
    align-items: start;
    margin-top: 1rem;
}

.section-title-row,
.page-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin: 1rem 0;
}

h1, h2, h3 {
    color: var(--text);
}

h2 {
    margin: 0;
    font-size: 1.4rem;
}

.card {
    background: var(--panel);
    padding: 1rem;
    border-radius: 22px;
    margin: 1rem 0;
    border: 1px solid var(--line);
    box-shadow: 0 16px 44px rgba(0, 0, 0, 0.20);
    backdrop-filter: blur(16px);
}

.card a {
    color: var(--text);
    text-decoration: none;
}

.card a:hover {
    color: #ffffff;
}

.place-list-card {
    display: grid;
    grid-template-columns: 150px minmax(0, 0.6fr) auto;
    gap: 1rem;
    align-items: center;
    margin: 0.65rem 0;
    background: rgba(13, 27, 48, 0.74);
}

.clickable-card {
    cursor: pointer;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.clickable-card:hover {
    transform: translateY(-3px);
    border-color: rgba(96, 207, 254, 0.35);
    box-shadow: 0 22px 60px rgba(0, 0, 0, 0.28);
}

.thumbnail,
.thumbnail-placeholder {
    width: 150px;
    height: 96px;
    border-radius: 18px;
    flex-shrink: 0;
}

.thumbnail {
    object-fit: cover;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.thumbnail-placeholder {
    background:
        linear-gradient(135deg, rgba(96, 207, 254, 0.28), rgba(255, 122, 89, 0.18)),
        url("hero.jpg") center / cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.76);
    font-size: 0.85rem;
}

.place-list-content h3 {
    margin: 0 0 0.35rem;
    font-size: 1.12rem;
}

.place-location,
.rating-line {
    color: var(--muted);
    font-size: 0.94rem;
    margin: 0.2rem 0;
}

.place-score {
    min-width: 125px;
    text-align: right;
}

.stars-red {
    color: #fb7185;
}

.stars-orange {
    color: #fb923c;
}

.stars-green {
    color: #34d399;
}


.stars {
    display: inline-flex;
    align-items: center;
    gap: 0.03rem;
}

.star {
    display: inline-block;
    width: 1em;
    line-height: 1;
    text-align: center;
}

.star-half {
    position: relative;
    color: inherit;
}

.star-half::before {
    content: '☆';
}

.star-half::after {
    content: '★';
    position: absolute;
    inset: 0 auto 0 0;
    width: 50%;
    overflow: hidden;
    color: inherit;
}

.stars-value {
    color: var(--muted);
    font-size: 0.38rem;
    font-weight: 200;
    white-space: nowrap;
}

.stars-red,
.stars-orange,
.stars-green {
    font-weight: 800;
    letter-spacing: 1px;
    white-space: nowrap;
}

.filter-bar {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-bar a {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
    border: 1px solid var(--line);
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 800;
}

.filter-bar a:hover,
.filter-bar a.active {
    background: rgba(96, 207, 254, 0.18);
    border-color: rgba(96, 207, 254, 0.38);
}

.side-card {
    margin-top: 0;
    background: rgba(13, 27, 48, 0.78);
}

.side-card p {
    color: var(--muted);
    line-height: 1.55;
}

.side-card a {
    display: block;
    padding: 0.55rem 0;
    color: var(--text);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.side-card a::after {
    content: "›";
    float: right;
    color: var(--blue);
    font-size: 1.35rem;
    line-height: 0.8;
}

.about-card {
    border-color: rgba(255, 122, 89, 0.22);
}

.grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

label {
    font-weight: 700;
    color: var(--text);
}

input,
textarea,
select {
    width: 100%;
    padding: 0.78rem;
    margin-top: 0.3rem;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    font: inherit;
    color: var(--text);
    background: rgba(255, 255, 255, 0.08);
}

select option {
    color: #111827;
}

textarea {
    min-height: 120px;
}

.images {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.images img {
    width: 160px;
    height: 110px;
    object-fit: cover;
    border-radius: 16px;
    cursor: pointer;
    border: 1px solid var(--line);
}

.image-admin-box {
    display: inline-block;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 0.5rem;
}

.image-admin-box label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    margin-top: 0.4rem;
}

.image-admin-box input {
    width: auto;
    margin: 0;
}

.image-admin-box textarea {
    width: 100%;
    min-height: 70px;
    margin-top: 0.35rem;
}

.image-admin-grid {
    align-items: stretch;
}

.image-upload-section {
    margin-top: 1.2rem;
    padding-top: 1rem;
    border-top: 1px solid var(--line);
}

.image-upload-section h2 {
    margin: 0 0 0.8rem;
    font-size: 1.15rem;
}

.image-text-fields {
    display: grid;
    gap: 0.65rem;
}

.image-text-field {
    margin: 0;
}

.status,
.notice,
.error {
    font-size: 0.92rem;
}

.status {
    color: var(--muted);
}

.admin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.notice {
    background: rgba(14, 165, 233, 0.14);
    border-left: 5px solid var(--blue);
    padding: 1rem;
    border-radius: 16px;
}

.error {
    background: rgba(239, 68, 68, 0.14);
    border-left: 5px solid var(--danger);
    padding: 1rem;
    border-radius: 16px;
}

.lightbox {
    display: none;
    position: fixed;
    z-index: 999;
    inset: 0;
    background: rgba(0,0,0,0.86);
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.lightbox-content {
    max-width: min(1100px, 95vw);
    text-align: center;
}

.lightbox img {
    max-width: 95%;
    max-height: 80vh;
    border-radius: 18px;
    box-shadow: 0 22px 70px rgba(0,0,0,0.5);
}

.lightbox-caption {
    display: none;
    max-width: 860px;
    margin: 0.8rem auto 0;
    color: #e5eef8;
    font-size: 0.95rem;
    line-height: 1.5;
}

.lightbox-close {
    position: fixed;
    top: 1rem;
    right: 1rem;
    background: white;
    color: #111827;
    border-radius: 999px;
    width: 42px;
    height: 42px;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
    box-shadow: none;
}

footer {
    max-width: 1180px;
    margin: 2rem auto 0;
    padding: 1.5rem 1rem 2rem;
    color: var(--muted);
    font-size: 0.9rem;
    text-align: center;
    border-top: 1px solid var(--line);
}

footer a {
    color: var(--blue);
    text-decoration: none;
}

.detail-card {
    padding: clamp(1.1rem, 3vw, 1.8rem);
    background: rgba(13, 27, 48, 0.82);
}

.detail-hero {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 1.2rem;
    padding: clamp(1.2rem, 3vw, 2rem);
    border-radius: 26px;
    background:
        linear-gradient(95deg, rgba(8, 17, 31, 0.86), rgba(8, 17, 31, 0.40)),
        url("hero.jpg") center / cover no-repeat;
    border: 1px solid var(--line);
    min-height: 260px;
}

.detail-title-block h1,
.page-title-row h1 {
    margin: 0 0 0.35rem;
    font-size: clamp(2rem, 4vw, 3.5rem);
    letter-spacing: -0.05em;
}

.detail-location {
    margin: 0.55rem 0 0;
    color: #d8e1ec;
    line-height: 1.5;
}

.detail-coordinates {
    margin: 0.2rem 0 0;
    font-size: 0.8rem;
    color: var(--muted);
}

.detail-meta-block {
    min-width: 210px;
    text-align: right;
    background: rgba(8, 17, 31, 0.55);
    border: 1px solid rgba(255,255,255,0.13);
    border-radius: 22px;
    padding: 1rem;
    backdrop-filter: blur(12px);
}

.detail-actions {
    margin: 0 0 1rem;
    text-align: right;
}

.detail-travel-data p {
    margin: 0 0 0.55rem;
}

.detail-travel-data span,
.detail-info-box span,
.detail-rating-list span {
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.detail-travel-data strong,
.detail-info-box strong {
    font-size: 1.05rem;
}


.detail-arrival-relative {
    margin-top: -0.35rem;
    color: var(--muted);
}

.detail-arrival-relative span {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: none;
    letter-spacing: 0;
}

.detail-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 0.8rem;
    margin: 1rem 0;
}

.detail-info-box {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 0.9rem;
}

.detail-info-box a {
    word-break: break-word;
    color: var(--text);
    font-weight: 800;
}

.detail-section {
    border-top: 1px solid var(--line);
    margin-top: 1.2rem;
    padding-top: 1.2rem;
}

.detail-section h2 {
    margin: 0 0 0.9rem;
    font-size: 1.25rem;
}

.detail-rating-content {
    display: grid;
    grid-template-columns: minmax(0, 560px) minmax(170px, 240px);
    gap: 1rem;
    align-items: start;
}

.detail-rating-list {
    max-width: 560px;
}

.detail-rating-list p {
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 1.1rem;
    align-items: baseline;
    margin: 0;
    padding: 0.55rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.detail-rating-list span {
    text-transform: none;
    letter-spacing: 0;
    font-size: 0.96rem;
}

.detail-rating-list strong {
    font-weight: 700;
}

.detail-map-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 0.75rem;
}

.detail-map-title {
    display: block;
    margin: 0 0 0.45rem;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.detail-map {
    position: relative;
    width: 100%;
    max-width: 220px;
    margin: 0 auto;
}

.detail-map img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 14px;
}

.detail-map-marker {
    position: absolute;
    transform: translate(-50%, -50%);
    color: #facc15;
    font-size: clamp(1rem, 2.6vw, 1.35rem);
    line-height: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.75), 0 0 4px rgba(255, 255, 255, 0.65);
    pointer-events: none;
}

.detail-notes {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 1rem;
    line-height: 1.6;
    color: #d8e1ec;
}

.detail-image-item {
    width: 190px;
    margin: 0;
}

.detail-images img {
    width: 190px;
    height: 130px;
}

.detail-image-item figcaption {
    margin-top: 0.35rem;
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.35;
}

@media (max-width: 1000px) {
    .site-nav,
    nav {
        position: static;
        transform: none;
        width: calc(100% - 2rem);
        margin: 1rem auto 0;
    }

    .nav-main-row {
        grid-template-columns: 1fr;
        gap: 0.65rem;
    }

    .nav-menu,
    .nav-search,
    .nav-sub-row,
    .nav-menu-sub {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .nav-search input {
        flex: 1 1 180px;
    }

    main {
        margin-top: 1rem;
    }

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

@media (max-width: 700px) {
    main {
        width: calc(100% - 1rem);
    }

    .hero {
        min-height: 460px;
        border-radius: 26px;
    }

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

    .section-title-row,
    .page-title-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .place-list-card {
        grid-template-columns: 96px 1fr;
        gap: 0.75rem;
    }

    .place-list-card > .stars {
        justify-self: start;
        align-self: center;
    }

    .place-list-content {
        grid-column: 1 / -1;
    }

    .rating-line {
        line-height: 1.55;
    }

    .thumbnail,
    .thumbnail-placeholder {
        width: 96px;
        height: 78px;
    }

    .place-score {
        grid-column: 1 / -1;
        text-align: left;
    }

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

    .detail-hero {
        flex-direction: column;
    }

    .detail-meta-block {
        width: 100%;
        text-align: left;
    }

    .detail-actions {
        text-align: left;
    }

    .detail-rating-content {
        grid-template-columns: 1fr;
    }

    .detail-rating-list p {
        grid-template-columns: 1fr;
        gap: 0.15rem;
    }

    .detail-map {
        margin: 0;
    }
}

/* Reisejournal */
.journal-select-card {
    margin-bottom: 1.1rem;
}

.journal-select-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    align-items: end;
}

.journal-select-form label {
    flex: 1 1 320px;
}

.journal-card {
    overflow: hidden;
}

.journal-header {
    padding: 0 0 1.1rem;
    border-bottom: 1px solid var(--line);
}

.journal-header h2 {
    margin: 0 0 0.75rem;
    font-size: clamp(1.45rem, 2.8vw, 2.2rem);
}

.journal-header p {
    margin: 0.45rem 0 0;
}

.journal-summary {
    margin: 1.4rem 0;
    padding: 1.1rem 1.2rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.07);
}

.journal-summary strong {
    display: block;
    margin-bottom: 0.55rem;
    color: var(--blue);
    font-size: 0.86rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.journal-summary p {
    margin: 0;
    font-size: 1.08rem;
    line-height: 1.65;
}

.journal-section {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.95fr);
    gap: 1.4rem;
    align-items: center;
    padding: 1.6rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.journal-section-reverse .journal-text-column {
    order: 2;
}

.journal-section-reverse .journal-image-column {
    order: 1;
}

.journal-text-column h3 {
    margin: 0 0 0.75rem;
    color: var(--blue);
}

.journal-text {
    color: #d8e1ec;
    font-size: 1.02rem;
    line-height: 1.75;
}

.journal-image-column {
    margin: 0;
}

.journal-image-column img,
.journal-edit-image-column img {
    width: 100%;
    max-height: 360px;
    object-fit: cover;
    border-radius: 20px;
    border: 1px solid var(--line);
    cursor: zoom-in;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.25);
}

.journal-image-column figcaption,
.journal-edit-image-column figcaption {
    margin-top: 0.55rem;
    color: var(--muted);
    font-size: 0.88rem;
    line-height: 1.45;
}

.journal-image-placeholder {
    min-height: 220px;
    display: grid;
    place-items: center;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.06);
    border: 1px dashed rgba(255, 255, 255, 0.22);
    border-radius: 20px;
}

.journal-highlight {
    margin: 1.1rem auto 1.4rem;
    max-width: 850px;
    padding: 1.25rem 1.5rem;
    color: white;
    background: rgba(255, 122, 89, 0.12);
    border-left: 4px solid var(--accent);
    border-radius: 18px;
    text-align: center;
    font-size: clamp(1.08rem, 2vw, 1.45rem);
    line-height: 1.55;
    font-weight: 700;
}

.journal-edit-card input,
.journal-edit-card select,
.journal-edit-card textarea,
.journal-select-form select {
    width: 100%;
    margin-top: 0.35rem;
    padding: 0.75rem 0.85rem;
    color: var(--text);
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 15px;
    outline: none;
    font: inherit;
}

.journal-edit-card textarea {
    resize: vertical;
}

.journal-edit-header {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.journal-edit-header p {
    margin: 0;
}

.journal-summary-edit label {
    display: block;
}

.journal-edit-section {
    align-items: start;
}

.journal-edit-section p {
    margin: 0 0 0.85rem;
}

.journal-edit-image-column figure {
    margin: 0 0 0.85rem;
}

.journal-delete-image {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.85rem;
    color: var(--muted);
}

.journal-delete-image input {
    width: auto;
    margin: 0;
}

.journal-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

@media (max-width: 760px) {
    .journal-section,
    .journal-edit-header {
        grid-template-columns: 1fr;
    }

    .journal-section-reverse .journal-text-column,
    .journal-section-reverse .journal-image-column {
        order: initial;
    }
}

/* Reisejournal Bildimport */
.journal-import-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
    gap: 1.4rem;
    align-items: center;
}

.journal-import-eyebrow {
    margin: 0 0 0.4rem;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.journal-import-note {
    display: grid;
    gap: 0.35rem;
    padding: 1rem;
    color: var(--text);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
}

.journal-import-note strong {
    color: var(--blue);
}

.journal-import-note span,
.journal-import-upload-card .status,
.journal-import-summary-card .status {
    color: var(--muted);
}

.journal-import-upload-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    align-items: end;
}

.journal-import-upload-form p:first-child {
    flex: 1 1 360px;
}

.journal-import-upload-form p {
    margin: 0;
}

.journal-import-table-wrap {
    overflow-x: auto;
}

.journal-import-table {
    width: 100%;
    border-collapse: collapse;
}

.journal-import-table th,
.journal-import-table td {
    padding: 0.75rem 0.65rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    text-align: left;
    vertical-align: middle;
}

.journal-import-table th {
    color: var(--blue);
    font-size: 0.86rem;
}

.journal-import-metrics {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.85rem;
    margin: 1rem 0;
}

.journal-import-metrics div {
    padding: 1rem 0.75rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 16px;
    text-align: center;
}

.journal-import-metrics b {
    display: block;
    color: var(--blue);
    font-size: 1.55rem;
}

.journal-import-metrics span {
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 700;
}

.journal-import-journal-data {
    margin-bottom: 1.4rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
}

.journal-import-journal-data h3 {
    margin-top: 0;
}

.journal-import-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.journal-import-image-card {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;
}

.journal-import-image-card.is-duplicate {
    opacity: 0.78;
}

.journal-import-image-card figure {
    margin: 0 0 0.85rem;
}

.journal-import-image-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border: 1px solid var(--line);
    border-radius: 16px;
    cursor: zoom-in;
}

.journal-import-image-card figcaption {
    margin-top: 0.45rem;
    color: var(--muted);
    font-size: 0.82rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.journal-import-image-missing {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 220px;
    padding: 1rem;
    border: 1px dashed var(--line);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--muted);
    font-size: 0.9rem;
    text-align: center;
}

.journal-import-image-card p {
    margin: 0 0 0.75rem;
}

.journal-import-image-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 0.85rem;
}

.journal-import-image-meta span {
    padding: 0.25rem 0.55rem;
    color: var(--muted);
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
}

.journal-import-warning {
    padding: 0.75rem;
    color: #ffd9d4;
    background: rgba(180, 35, 24, 0.18);
    border-left: 4px solid var(--danger);
    border-radius: 12px;
}

.journal-import-image-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.journal-import-check {
    display: flex;
    gap: 0.45rem;
    align-items: center;
    color: var(--muted);
    font-size: 0.92rem;
}

.journal-import-check input {
    width: auto;
    margin: 0;
}

.danger-notice {
    border-left: 4px solid var(--danger);
}

@media (max-width: 900px) {
    .journal-import-hero,
    .journal-import-grid,
    .journal-import-metrics,
    .journal-import-image-options {
        grid-template-columns: 1fr;
    }
}

.journal-import-ai-card {
    border-left: 4px solid var(--blue);
}

.journal-import-ai-card h2 {
    margin-top: 0;
}

.journal-import-ai-info {
    padding: 0.65rem 0.75rem;
    color: var(--blue);
    background: rgba(11, 79, 138, 0.10);
    border-left: 4px solid var(--blue);
    border-radius: 12px;
    font-size: 0.86rem;
}

.journal-date-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

@media (max-width: 720px) {
    .journal-date-row {
        grid-template-columns: 1fr;
    }
}
