 :root {
    --bg: #f3f6fa;
    --dark: #172b4d;
    --accent: #2563eb;
    --accent-dark: #1d4ed8;
    --soft: #ffffff;
    --text: #1f2937;
    --muted: #6b7280;
    --border: #dbe3ef;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: var(--bg);
    color: var(--text);
}

nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(23, 43, 77, 0.97);
    color: white;
    padding: 0.8rem 1rem;
    z-index: 100;
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: space-between;
}

.nav-left {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    background: rgba(255,255,255,0.12);
    padding: 0.55rem 0.85rem;
    border-radius: 10px;
    transition: background 0.2s ease, transform 0.2s ease;
}

nav a:hover {
    background: var(--accent);
    transform: translateY(-1px);
}

.nav-search {
    display: flex;
    gap: 0.3rem;
}

nav input {
    padding: 0.45rem;
    border-radius: 8px;
    border: none;
}

nav button,
button,
.btn {
    background: var(--accent);
    color: white;
    border: none;
    padding: 0.55rem 0.8rem;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

nav button:hover,
button:hover,
.btn:hover {
    background: var(--accent-dark);
}
		
.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 800;
    background: transparent;
    padding: 0.2rem 0.4rem;
}

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

.nav-brand img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    border-radius: 8px;
}

.nav-brand span {
    font-size: 1.1rem;
    letter-spacing: -0.02em;
} 

main {
    max-width: 960px;
    margin: 90px auto 40px;
    padding: 1rem;
}

.hero {
    background: linear-gradient(135deg, #ffffff, #dbeafe);
    border-radius: 24px;
    padding: 2.5rem 1.5rem;
    box-shadow: 0 10px 30px rgba(23,43,77,0.12);
}

.brand-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    text-align: left;
}

.brand-logo {
    width: 82px;
    height: 82px;
    object-fit: contain;
    border-radius: 18px;
    background: rgba(255,255,255,0.75);
    padding: 0.35rem;
    box-shadow: 0 8px 22px rgba(23,43,77,0.15);
}

.logo {
    font-size: 2.6rem;
    font-weight: 850;
    color: var(--dark);
    line-height: 1;
    letter-spacing: -0.04em;
}

.slogan {
    color: var(--muted);
    margin: 0.5rem 0 0;
    font-size: 1.05rem;
}

.card {
    background: var(--soft);
    padding: 1rem;
    border-radius: 16px;
    margin: 1rem 0;
    box-shadow: 0 6px 18px rgba(23,43,77,0.08);
}

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

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

.place-list-card {
    display: flex;
    gap: 1rem;
    align-items: center;
}
		
.clickable-card {
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.clickable-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(23,43,77,0.12);
} 

.thumbnail {
    width: 110px;
    height: 85px;
    border-radius: 14px;
    object-fit: cover;
    background: #e5e7eb;
    flex-shrink: 0;
    border: 1px solid var(--border);
}

.thumbnail-placeholder {
    width: 96px;
    height: 76px;
    border-radius: 12px;
    background: linear-gradient(135deg, #e5e7eb, #c7d2fe);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    font-size: 0.8rem;
    flex-shrink: 0;
}

.rating-line {
    color: var(--muted);
    font-size: 0.95rem;
}
		
.stars-red {
    color: #c94a4a; /* dezentes Rot */
}

.stars-orange {
    color: #d98c3a; /* dezentes Orange */
}

.stars-green {
    color: #4f8a5b; /* dezentes Grün */
}

.stars-value {
    color: var(--muted);
    font-size: 0.9rem;
} 
		
.stars-red,
.stars-orange,
.stars-green {
    font-weight: 600;
    letter-spacing: 1px;
} 

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

label {
    font-weight: 600;
}

input, textarea, select {
    width: 100%;
    padding: 0.75rem;
    margin-top: 0.3rem;
    border: 1px solid #ccc;
    border-radius: 10px;
    font: inherit;
}

textarea {
    min-height: 120px;
}

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

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

.image-admin-box {
    display: inline-block;
    background: #f8fafc;
    border: 1px solid var(--border);
    border-radius: 14px;
    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;
}

.status {
    font-size: 0.9rem;
    color: var(--muted);
}

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

.danger {
    background: #a33;
}

.danger:hover {
    background: #822;
}

.warning {
    background: #b88728;
}

.warning:hover {
    background: #94691f;
}

.info {
    background: #2563eb;
}

.notice {
    background: #eff6ff;
    border-left: 5px solid var(--accent);
    padding: 1rem;
    border-radius: 12px;
}

.error {
    background: #fee2e2;
    border-left: 5px solid #b91c1c;
    padding: 1rem;
    border-radius: 12px;
}

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

.lightbox img {
    max-width: 95%;
    max-height: 85vh;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.lightbox-close {
    position: fixed;
    top: 1rem;
    right: 1rem;
    background: white;
    color: var(--dark);
    border-radius: 999px;
    width: 42px;
    height: 42px;
    border: none;
    font-size: 1.4rem;
    cursor: pointer;
}

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

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

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

.filter-bar a {
    background: white;
    color: var(--dark);
    border: 1px solid var(--border);
    padding: 0.5rem 0.8rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 3px 10px rgba(23,43,77,0.06);
}

.filter-bar a:hover {
    border-color: var(--accent);
}

.filter-bar a.active {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
} 
		
.page-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.page-title-row h1 {
    margin: 0;
}

@media (max-width: 700px) {
    nav {
        flex-wrap: wrap;
    }

    .nav-search {
        width: 100%;
    }

    nav input {
        flex: 1;
    }

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

    main {
        margin-top: 150px;
    }

    .brand-header {
        flex-direction: column;
        text-align: center;
    }

    .brand-logo {
        width: 76px;
        height: 76px;
    }

    .logo {
        font-size: 2.2rem;
    }

    .place-list-card {
        align-items: flex-start;
    }
	
	.page-title-row {
        align-items: flex-start;
        flex-direction: column;
    }

}
