@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');
:root {
    --ink:#282326;
    --muted:#777176;
    --red:#79263a;
    --red-dark:#5f1c2c;
    --rose:#f5edef;
    --line:#e9e4e5;
    --paper:#fff;
    --soft:#faf8f8;
    --green:#176b45;
    --shadow:0 12px 35px rgba(38,20,25,.06);
    --radius:18px
}
* {
    box-sizing:border-box
}
html {
    scroll-behavior:smooth
}
body {
    margin:0;
    background:var(--paper);
    color:var(--ink);
    font-family:'DM Sans',Arial,sans-serif;
    font-size:16px;
    line-height:1.65;
    -webkit-font-smoothing:antialiased
}
h1,h2,h3,h4 {
    font-family:Manrope,'DM Sans',sans-serif;
    line-height:1.2;
    letter-spacing:-.035em;
    margin:0 0 .7em
}
h1 {
    font-size:clamp(2.25rem,5vw,4.6rem);
    font-weight:700
}
h2 {
    font-size:clamp(1.65rem,3vw,2.35rem)
}
h3 {
    font-size:1.22rem
}
p {
    margin:0 0 1em
}
a {
    color:inherit;
    text-decoration:none
}
a:hover {
    color:var(--red)
}
button,input,select,textarea {
    font:inherit
}
button,a,input,select,textarea {
    outline-color:#b95c71
}
button {
    cursor:pointer
}
.container {
    width:min(1160px,calc(100% - 44px));
    margin-inline:auto
}
.narrow {
    max-width:720px
}
.page-main {
    padding-top:56px;
    padding-bottom:90px
}
.site-header {
    background:rgba(255,255,255,.96);
    border-bottom:1px solid var(--line);
    position:sticky;
    top:0;
    z-index:20;
    backdrop-filter:blur(14px)
}
.nav-inner {
    min-height:84px;
    display:flex;
    align-items:center;
    gap:34px
}
.brand {
    display:flex;
    align-items:center;
    gap:11px;
    font-family:Manrope,sans-serif;
    font-size:17px;
    font-weight:800;
    letter-spacing:.08em;
    line-height:1.1;
    white-space:nowrap
}
.brand-mark {
    display:grid;
    place-items:center;
    width:43px;
    height:43px;
    background:var(--red);
    color:white;
    border-radius:12px;
    font-size:26px;
    letter-spacing:-.05em
}
.brand-light {
    font-weight:500
}
.brand small {
    display:block;
    margin-top:5px;
    font:600 8px 'DM Sans',sans-serif;
    letter-spacing:.16em;
    color:var(--muted)
}
.main-nav {
    display:flex;
    gap:28px;
    margin-left:auto;
    font-size:14px;
    font-weight:600
}
.nav-account {
    display:flex;
    align-items:center;
    gap:18px;
    font-size:14px
}
.inline-form {
    display:inline-flex;
    align-items:center;
    gap:8px
}
.link-button {
    border:0;
    background:none;
    padding:0;
    color:var(--muted)
}
.mobile-menu-toggle,.mobile-nav {
    display:none
}
.button {
    display:inline-flex;
    justify-content:center;
    align-items:center;
    gap:8px;
    border:1px solid transparent;
    border-radius:10px;
    padding:12px 20px;
    font-size:14px;
    font-weight:700;
    line-height:1.2;
    transition:background .18s,border-color .18s,transform .18s
}
.button:hover {
    transform:translateY(-1px)
}
.button-primary {
    background:var(--red);
    color:white
}
.button-primary:hover {
    background:var(--red-dark);
    color:white
}
.button-outline {
    background:white;
    border-color:#d9cbd0;
    color:var(--red)
}
.button-outline:hover {
    background:var(--rose)
}
.button-quiet {
    background:#f5f2f3;
    color:var(--ink)
}
.button-light {
    background:white;
    color:var(--red)
}
.button-small {
    padding:9px 13px;
    font-size:12px
}
.button-full {
    width:100%
}
.button-danger {
    background:#a42b32;
    color:white
}
.button-row {
    display:flex;
    gap:10px;
    flex-wrap:wrap
}
.hero {
    padding-top:100px;
    padding-bottom:76px;
    text-align:center;
    max-width:900px
}
.eyebrow {
    font-size:11px;
    letter-spacing:.18em;
    font-weight:700;
    color:var(--red);
    margin-bottom:16px
}
.hero h1 {
    margin-bottom:20px
}
.hero h1 em {
    font-style:normal;
    color:var(--red)
}
.hero-copy .lead {
    max-width:650px;
    margin:0 auto 32px;
    color:#6c6569;
    font-size:18px
}
.search-box {
    display:flex;
    align-items:center;
    gap:12px;
    padding:8px 8px 8px 18px;
    border:1px solid #ded7d9;
    border-radius:15px;
    box-shadow:0 8px 28px rgba(40,20,26,.06);
    text-align:left;
    background:white
}
.search-box:focus-within {
    border-color:#b77b89;
    box-shadow:0 0 0 4px #f8edf0
}
.search-icon {
    font-size:26px;
    color:var(--red)
}
.search-box input {
    border:0;
    outline:0;
    min-width:0;
    flex:1;
    padding:10px 0;
    background:transparent
}
.quick-links {
    display:flex;
    justify-content:center;
    gap:22px;
    flex-wrap:wrap;
    margin-top:19px;
    font-size:13px;
    color:var(--muted)
}
.quick-links a:hover {
    color:var(--red)
}
.section {
    padding-top:44px;
    padding-bottom:54px
}
.section-heading {
    display:flex;
    align-items:end;
    justify-content:space-between;
    gap:20px;
    margin-bottom:25px
}
.section-heading h2 {
    margin:0
}
.section-heading .eyebrow {
    margin-bottom:8px
}
.text-link {
    font-size:13px;
    color:var(--red);
    font-weight:700
}
.text-link span {
    padding-left:5px
}
.restaurant-grid {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:24px
}
.restaurant-card {
    border:1px solid var(--line);
    border-radius:var(--radius);
    overflow:hidden;
    background:white;
    transition:box-shadow .2s,transform .2s
}
.restaurant-card:hover {
    box-shadow:var(--shadow);
    transform:translateY(-3px)
}
.card-image-link {
    display:block;
    position:relative;
    overflow:hidden;
    background:#eee8e6
}
.card-image {
    width:100%;
    height:220px;
    display:block;
    object-fit:cover;
    transition:transform .4s
}
.restaurant-card:hover .card-image {
    transform:scale(1.025)
}
.image-badge {
    position:absolute;
    left:13px;
    top:13px;
    background:white;
    color:var(--red);
    padding:6px 10px;
    border-radius:6px;
    font-size:10px;
    font-weight:700
}
.card-body {
    padding:19px
}
.card-meta {
    display:flex;
    gap:10px;
    justify-content:space-between;
    color:var(--muted);
    font-size:11px;
    margin-bottom:9px
}
.card-body h3 {
    margin-bottom:12px
}
.card-score {
    display:flex;
    align-items:baseline;
    gap:5px;
    margin-bottom:11px
}
.card-score strong {
    font:800 26px Manrope,sans-serif;
    color:var(--red);
    letter-spacing:-.04em
}
.card-score>span {
    font-size:12px;
    color:var(--muted)
}
.card-score .score-caption {
    margin-left:auto;
    font-size:11px
}
.card-body p {
    font-size:13px;
    color:#6e676b;
    min-height:43px
}
.manifesto {
    background:#2a2023;
    color:white;
    margin-top:45px;
    padding:72px 0
}
.manifesto-inner {
    max-width:760px
}
.manifesto .eyebrow {
    color:#e5aeba
}
.manifesto h2 {
    font-size:clamp(2rem,4vw,3.2rem)
}
.manifesto p:not(.eyebrow) {
    max-width:630px;
    color:#d6cdd0;
    font-size:17px;
    margin-bottom:25px
}
.page-intro {
    margin-bottom:36px;
    max-width:740px
}
.page-intro h1 {
    font-size:clamp(2.2rem,4vw,3.5rem);
    margin-bottom:13px
}
.page-intro>p:last-child {
    color:var(--muted);
    font-size:17px
}
.filters {
    display:grid;
    grid-template-columns:1.5fr 1fr 1.2fr;
    gap:17px;
    padding:23px;
    background:var(--soft);
    border:1px solid var(--line);
    border-radius:var(--radius);
    margin-bottom:26px
}
.filters label,.stack-form label,.admin-form label,.form-card label {
    display:block;
    font-size:12px;
    font-weight:700;
    margin-bottom:7px
}
.filters input:not([type=checkbox]),.filters select,.stack-form input,.admin-form input:not([type=checkbox]):not([type=range]):not([type=file]),.admin-form select,.admin-form textarea,.stack-form textarea,.form-card textarea,.form-card input:not([type=range]) {
    width:100%;
    padding:11px 12px;
    border:1px solid #ddd5d8;
    border-radius:8px;
    background:white;
    color:var(--ink)
}
.filter-checks {
    display:flex;
    gap:17px;
    flex-wrap:wrap;
    align-items:center;
    font-size:13px
}
.filter-checks label,.checkbox-line label {
    display:flex;
    align-items:center;
    gap:7px;
    margin:0;
    font-weight:500
}
.filter-actions {
    display:flex;
    align-items:center;
    gap:8px;
    flex-wrap:wrap
}
.results-heading {
    display:flex;
    justify-content:space-between;
    gap:15px;
    color:var(--muted);
    font-size:12px;
    margin-bottom:18px
}
.results-heading strong {
    color:var(--ink)
}
.empty-state {
    text-align:center;
    padding:65px 24px;
    border:1px dashed #d8cdd1;
    border-radius:var(--radius);
    background:#fcfafb
}
.empty-state h2,.empty-state h3 {
    margin-bottom:10px
}
.empty-state p {
    color:var(--muted)
}
.restaurant-title {
    display:flex;
    justify-content:space-between;
    align-items:end;
    gap:25px;
    margin:25px 0 30px
}
.restaurant-title h1 {
    font-size:clamp(2.3rem,5vw,4rem);
    margin-bottom:8px
}
.restaurant-location {
    color:var(--muted);
    margin:0
}
.score-tile {
    flex:0 0 150px;
    padding:18px 20px;
    border:1px solid #e7dadd;
    background:#fcf7f8;
    border-radius:14px;
    text-align:center
}
.score-tile strong {
    display:block;
    font:800 39px Manrope,sans-serif;
    color:var(--red);
    line-height:1.1
}
.score-tile span,.score-tile small {
    display:block;
    color:var(--muted);
    font-size:11px
}
.score-tile small {
    margin-top:7px
}
.detail-hero-image {
    width:100%;
    max-height:540px;
    object-fit:cover;
    border-radius:var(--radius);
    display:block;
    background:#eee8e6
}
/* =====================================================
   ESSENSBILD AUF DER RESTAURANTDETAILSEITE
===================================================== */

.food-image-section {
    margin-top: 0;
}

.detail-food-image {
    display: block;
    width: 100%;
    max-height: 600px;
    object-fit: cover;
    border-radius: var(--radius);
    background: #eee8e6;
}

.food-image-caption {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 12px;
}

.breadcrumbs {
    font-size:12px;
    color:var(--muted)
}
.detail-section {
    padding:42px 0;
    border-bottom:1px solid var(--line)
}
.detail-section h2 {
    margin-bottom:18px
}
.section-kicker {
    font-size:10px;
    font-weight:800;
    letter-spacing:.17em;
    color:var(--red);
    margin-bottom:10px
}
.detail-description,.editorial-copy {
    font-size:16px;
    line-height:1.85;
    max-width:850px
}
.info-pills {
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin:20px 0
}
.info-pills span {
    border:1px solid var(--line);
    background:#faf7f8;
    border-radius:30px;
    padding:6px 11px;
    font-size:12px
}
.score-list {
    max-width:720px;
    display:grid;
    gap:20px;
    margin:28px 0
}
.score-row-label {
    display:flex;
    justify-content:space-between;
    gap:15px;
    font-size:14px;
    margin-bottom:8px
}
.score-row-label strong {
    font-family:Manrope,sans-serif
}
.score-track {
    height:7px;
    background:#eee8ea;
    border-radius:99px;
    overflow:hidden
}
.score-track span {
    height:100%;
    display:block;
    background:var(--red);
    border-radius:99px
}
.muted {
    color:var(--muted)
}
.small {
    font-size:12px
}
.notice {
    padding:15px 18px;
    border:1px solid #ead8de;
    background:#fcf6f8;
    border-radius:10px;
    margin:20px 0;
    font-size:14px
}
.review-count {
    color:var(--muted);
    font-size:12px
}
.review-card {
    border-bottom:1px solid var(--line);
    padding:19px 0
}
.review-card-head {
    display:flex;
    justify-content:space-between;
    gap:20px
}
.review-card-head span {
    font-weight:800;
    color:var(--red)
}
.review-card p {
    margin:12px 0
}
.form-card {
    padding:23px;
    background:var(--soft);
    border:1px solid var(--line);
    border-radius:var(--radius);
    max-width:760px
}
.form-card input[type=range],.score-input-row input[type=range] {
    width:100%;
    accent-color:var(--red)
}
.form-hint {
    font-size:12px;
    color:var(--muted);
    margin:7px 0 16px
}
.form-card textarea {
    margin-bottom:10px;
    resize:vertical
}
.site-footer {
    background:#f7f4f5;
    border-top:1px solid var(--line);
    padding:36px 0
}
.footer-inner {
    display:flex;
    align-items:center;
    gap:30px;
    flex-wrap:wrap
}
.brand-footer {
    font-size:14px
}
.brand-footer .brand-mark {
    width:36px;
    height:36px;
    font-size:22px
}
.footer-links {
    display:flex;
    gap:18px;
    margin-left:auto;
    font-size:12px;
    color:var(--muted)
}
.footer-inner>p {
    width:100%;
    font-size:11px;
    color:var(--muted);
    margin:0
}
.flash {
    padding:12px 15px;
    margin:15px auto;
    border-radius:9px;
    font-size:13px
}
.flash-success {
    background:#eaf6ef;
    color:#176b45;
    border:1px solid #cce9d7
}
.flash-error {
    background:#fff0f0;
    color:#982f37;
    border:1px solid #f0cfd1
}
.auth-card {
    background:white;
    border:1px solid var(--line);
    border-radius:var(--radius);
    padding:34px;
    box-shadow:var(--shadow)
}
.auth-card h1 {
    font-size:2.2rem
}
.auth-card>.muted {
    margin-bottom:25px
}
.stack-form {
    display:grid;
    gap:9px
}
.stack-form label:not(:first-child) {
    margin-top:8px
}
.auth-bottom {
    font-size:13px;
    color:var(--muted);
    text-align:center;
    margin:18px 0 0
}
.auth-bottom a {
    color:var(--red);
    font-weight:700
}
.center {
    text-align:center
}
.big-icon {
    font-size:42px;
    margin-bottom:12px
}
.account-grid {
    display:grid;
    grid-template-columns:1.4fr 1fr;
    gap:24px
}
.panel {
    border:1px solid var(--line);
    border-radius:var(--radius);
    padding:24px;
    margin-bottom:24px;
    background:white
}
.panel h2 {
    font-size:1.35rem
}
.account-review {
    padding:17px 0;
    border-bottom:1px solid var(--line);
    display:flex;
    gap:15px;
    justify-content:space-between;
    align-items:start
}
.account-review p {
    font-size:13px;
    color:var(--muted);
    margin:6px 0
}
.status-pill {
    display:inline-block;
    padding:4px 8px;
    border-radius:30px;
    font-size:10px;
    font-weight:700;
    background:#f3eef0;
    color:#65535a;
    white-space:nowrap
}
.status-published {
    background:#e8f5ed;
    color:#176b45
}
.status-pending,.status-draft {
    background:#fff4df;
    color:#875a13
}
.status-rejected,.status-archived {
    background:#fbeaea;
    color:#9a3439
}
.admin-heading {
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:20px;
    margin-bottom:30px
}
.admin-heading h1 {
    font-size:clamp(2rem,4vw,3rem);
    margin-bottom:8px
}
.stats-grid {
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:15px;
    margin-bottom:25px
}
.stat-card {
    padding:22px;
    border:1px solid var(--line);
    border-radius:14px;
    background:var(--soft)
}
.stat-card span {
    display:block;
    color:var(--muted);
    font-size:12px
}
.stat-card strong {
    font:800 32px Manrope,sans-serif;
    color:var(--red)
}
.admin-links {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:16px;
    margin-bottom:25px
}
.admin-link-card {
    padding:23px;
    border:1px solid var(--line);
    border-radius:14px;
    display:grid;
    gap:9px
}
.admin-link-card strong {
    color:var(--red)
}
.admin-link-card span {
    font-size:12px;
    color:var(--muted)
}
.admin-form-panel {
    margin-bottom:30px
}
.form-grid {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:18px
}
.full-width {
    grid-column:1/-1
}
.two-fields {
    display:grid;
    grid-template-columns:.7fr 1.3fr;
    gap:10px
}
.admin-form textarea {
    resize:vertical
}
.checkbox-line {
    display:flex;
    gap:22px;
    flex-wrap:wrap
}
.score-editor {
    padding:22px;
    background:var(--soft);
    border:1px solid var(--line);
    border-radius:13px;
    margin:24px 0
}
.score-editor h3 {
    margin-bottom:5px
}
.score-input-row {
    display:grid;
    grid-template-columns:130px 1fr 45px;
    align-items:center;
    gap:15px;
    margin:17px 0
}
.score-input-row label {
    margin:0
}
.score-input-row output {
    text-align:right;
    font-weight:800;
    color:var(--red)
}
.table-wrap {
    overflow-x:auto
}
.data-table {
    width:100%;
    border-collapse:collapse;
    font-size:13px
}
.data-table th,.data-table td {
    text-align:left;
    padding:13px 12px;
    border-bottom:1px solid var(--line);
    vertical-align:middle
}
.data-table th {
    font-size:10px;
    letter-spacing:.08em;
    text-transform:uppercase;
    color:var(--muted)
}
.data-table tr:last-child td {
    border-bottom:0
}
.moderation-list {
    display:grid;
    gap:16px
}
.moderation-card {
    margin:0
}
.moderation-head {
    display:flex;
    justify-content:space-between;
    gap:20px
}
.moderation-head h2 {
    font-size:1.15rem;
    margin-bottom:4px
}
.moderation-head>strong {
    color:var(--red);
    font-size:20px;
    white-space:nowrap
}
.moderation-actions {
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:12px;
    flex-wrap:wrap;
    margin-top:18px
}
.moderation-actions form {
    display:flex;
    gap:7px;
    flex-wrap:wrap
}
.filter-tabs {
    display:flex;
    gap:8px;
    margin-bottom:22px;
    flex-wrap:wrap
}
.filter-tabs a {
    padding:8px 14px;
    border:1px solid var(--line);
    border-radius:30px;
    font-size:12px
}
.filter-tabs a.active {
    background:var(--red);
    color:white;
    border-color:var(--red)
}
.article-page {
    font-size:16px;
    line-height:1.8
}
.article-page h1 {
    font-size:clamp(2.2rem,4vw,3.5rem);
    margin-bottom:20px
}
.article-page h2 {
    font-size:1.45rem;
    margin-top:36px;
    margin-bottom:12px
}
.article-page ul {
    padding-left:24px
}
.article-page .lead {
    font-size:19px;
    color:var(--muted)
}
code {
    background:#f3eff0;
    padding:2px 5px;
    border-radius:4px
}
.sr-only {
    position:absolute;
    width:1px;
    height:1px;
    padding:0;
    margin:-1px;
    overflow:hidden;
    clip:rect(0,0,0,0);
    white-space:nowrap;
    border:0
}
@media(max-width:900px) {
    .main-nav {
        gap:16px
    }
    .nav-account {
        gap:10px
    }
    .restaurant-grid {
        grid-template-columns:repeat(2,minmax(0,1fr))
    }
    .filters {
        grid-template-columns:repeat(2,minmax(0,1fr))
    }
    .stats-grid {
        grid-template-columns:repeat(2,1fr)
    }
    .admin-links {
        grid-template-columns:1fr
    }
    .account-grid {
        grid-template-columns:1fr
    }
}
@media(max-width:650px) {
    .container {
        width:min(100% - 30px,1160px)
    }
    .nav-inner {
        min-height:72px;
        gap:12px
    }
    .brand {
        font-size:14px;
        gap:8px
    }
    .brand-mark {
        width:36px;
        height:36px;
        font-size:22px;
        border-radius:9px
    }
    .brand small {
        font-size:7px
    }
    .main-nav,.nav-account {
        display:none
    }
    .mobile-menu-toggle {
        display:block;
        margin-left:auto;
        background:white;
        border:1px solid var(--line);
        border-radius:9px;
        padding:8px 11px;
        color:var(--ink)
    }
    .mobile-nav {
        padding:10px 18px 17px;
        border-top:1px solid var(--line);
        display:grid;
        gap:12px;
        font-size:14px
    }
    .mobile-nav[hidden] {
        display:none
    }
    .hero {
        padding-top:65px;
        padding-bottom:44px
    }
    .hero-copy .lead {
        font-size:16px
    }
    .search-box {
        gap:8px;
        padding-left:12px
    }
    .search-box .button {
        padding:11px 13px
    }
    .quick-links {
        gap:13px
    }
    .section {
        padding-top:32px;
        padding-bottom:35px
    }
    .section-heading {
        align-items:start
    }
    .restaurant-grid {
        grid-template-columns:1fr;
        gap:16px
    }
    .card-image {
        height:220px
    }
    .manifesto {
        padding:52px 0;
        margin-top:20px
    }
    .page-main {
        padding-top:35px;
        padding-bottom:60px
    }
    .filters {
        grid-template-columns:1fr;
        padding:16px
    }
    .filter-checks {
        gap:12px
    }
    .results-heading {
        display:grid
    }
    .restaurant-title {
        display:grid;
        align-items:start
    }
    .score-tile {
        width:100%;
        display:grid;
        grid-template-columns:auto auto 1fr;
        align-items:center;
        gap:8px;
        text-align:left
    }
    .score-tile strong {
        font-size:30px
    }
    .score-tile small {
        margin:0
    }
    .detail-section {
        padding:30px 0
    }
    .detail-hero-image {
        min-height:220px
    }
    .form-grid {
        grid-template-columns:1fr
    }
    .full-width {
        grid-column:auto
    }
    .score-input-row {
        grid-template-columns:105px 1fr 40px;
        gap:9px
    }
    .panel {
        padding:17px
    }
    .auth-card {
        padding:24px 20px
    }
    .stats-grid {
        grid-template-columns:repeat(2,1fr);
        gap:10px
    }
    .stat-card {
        padding:15px
    }
    .stat-card strong {
        font-size:26px
    }
    .admin-heading {
        align-items:start;
        flex-direction:column
    }
    .footer-inner {
        display:grid;
        gap:20px
    }
    .footer-links {
        margin:0;
        flex-wrap:wrap
    }
    .moderation-actions {
        align-items:start;
        flex-direction:column
    }
    .moderation-actions form {
        width:100%
    }
    .moderation-actions .button {
        flex:1
    }
    .account-review {
        flex-direction:column
    }
    .score-tile {
        flex-basis:auto
    }
}


/* =====================================================
   RESTAURANTDETAILSEITE â€“ ZENTRIERUNG
===================================================== */

.restaurant-detail {
    width: min(100% - 44px, 1040px);
    margin-inline: auto;
}

.restaurant-detail .breadcrumbs {
    text-align: center;
    margin-bottom: 18px;
}

.restaurant-detail .restaurant-title {
    align-items: center;
}

.restaurant-detail .restaurant-title > div:first-child {
    flex: 1;
}

.restaurant-detail .detail-section {
    text-align: center;
}

.restaurant-detail .detail-description,
.restaurant-detail .editorial-copy {
    margin-inline: auto;
}

.restaurant-detail .info-pills,
.restaurant-detail .button-row {
    justify-content: center;
}

.restaurant-detail .score-list {
    width: min(100%, 720px);
    margin-inline: auto;
    text-align: left;
}

.restaurant-detail .review-card {
    text-align: left;
}

.restaurant-detail .form-card {
    margin-inline: auto;
    text-align: left;
}

.restaurant-detail .section-heading {
    align-items: center;
}


/* =====================================================
   ESSENSBILD â€“ IDENTISCHER LOOK WIE RESTAURANTFOTO
===================================================== */

.food-image-section {
    margin-top: 0;
}

.detail-food-image {
    display: block;
    width: 100%;
    max-height: 540px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: var(--radius);
    background: #eee8e6;
    box-shadow: var(--shadow);
}

.food-image-caption {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 12px;
}


/* =====================================================
   SCORE-KACHELN â€“ REDAKTION & GÃ„STE
===================================================== */

.score-tiles {
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
    gap: 12px;
    flex-wrap: wrap;
}

.score-tile {
    min-width: 145px;
}

.score-tile-user {
    background: #fff;
    border-color: var(--line);
}

.score-tile-user strong {
    color: var(--ink);
}

.score-tile .score-empty {
    font-size: 22px;
    line-height: 1.4;
}


/* =====================================================
   ANIMIERTE BEWERTUNGSBALKEN
===================================================== */

.score-track {
    position: relative;
}

.score-track span {
    width: 0;
    transition: width 1.25s cubic-bezier(.22, .8, .25, 1);
    will-change: width;
}

.score-track.is-visible span {
    width: var(--score-width);
}

@media (prefers-reduced-motion: reduce) {
    .score-track span {
        transition: none;
    }
}


/* =====================================================
   RESPONSIVE DETAILSEITE
===================================================== */

@media (max-width: 650px) {
    .restaurant-detail {
        width: min(100% - 30px, 1040px);
    }

    .restaurant-detail .detail-section {
        text-align: left;
    }

    .restaurant-detail .detail-description,
    .restaurant-detail .editorial-copy {
        margin-inline: 0;
    }

    .restaurant-detail .info-pills,
    .restaurant-detail .button-row {
        justify-content: flex-start;
    }

    .score-tiles {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
    }

    .score-tile {
        min-width: 0;
        padding: 14px 10px;
    }

    .score-tile strong {
        font-size: 30px;
    }

    .detail-food-image {
        aspect-ratio: 4 / 3;
        max-height: 420px;
    }
}

/* =====================================================
   KORREKTUREN FÃœR RESTAURANTDETAILSEITE UND BEWERTUNGEN
   Diese Regeln stehen bewusst am Dateiende und Ã¼berschreiben
   Ã¤ltere, allgemeinere Definitionen.
===================================================== */

:root {
    /* KompatibilitÃ¤tsvariablen fÃ¼r das Bewertungsformular */
    --gold: var(--red);
    --text: var(--ink);
    --panel: var(--paper);
}

/* Restaurant- und Essensfoto erhalten exakt dieselbe Darstellung. */
.restaurant-detail .detail-hero-image,
.restaurant-detail .detail-food-image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    max-height: 540px;
    object-fit: cover;
    border-radius: var(--radius);
    background: #eee8e6;
    box-shadow: var(--shadow);
}

.restaurant-detail .food-image-section {
    width: 100%;
    margin: 0;
}

/* Bewertungsformular */
.restaurant-detail .review-rating-form,
.restaurant-detail .form-card.review-rating-form,
.restaurant-detail #bewerten.form-card {
    width: min(100%, 760px);
    margin: 24px auto 0;
    padding: clamp(18px, 3vw, 28px);
    text-align: left;
}

.restaurant-detail .review-rating-form label,
.restaurant-detail #bewerten.form-card label {
    display: block;
    margin: 18px 0 8px;
    color: var(--ink);
    font-size: 13px;
    font-weight: 700;
}

.restaurant-detail .review-rating-form label:first-of-type,
.restaurant-detail #bewerten.form-card label:first-of-type {
    margin-top: 0;
}

/*
 * Echte, gut sichtbare Schieberegler.
 * Die Regeln greifen sowohl fÃ¼r .review-slider als auch fÃ¼r
 * jedes input[type=range] innerhalb des Bewertungsformulars.
 */
.restaurant-detail input[type="range"],
.restaurant-detail .review-slider,
.review-rating-form input[type="range"],
.form-card input[type="range"] {
    -webkit-appearance: none;
    appearance: none;
    display: block;
    width: 100%;
    min-width: 0;
    height: 34px;
    margin: 8px 0 20px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    cursor: pointer;
    accent-color: var(--red);
    touch-action: pan-y;
}

.restaurant-detail input[type="range"]:focus,
.review-rating-form input[type="range"]:focus,
.form-card input[type="range"]:focus {
    outline: none;
}

.restaurant-detail input[type="range"]:focus-visible,
.review-rating-form input[type="range"]:focus-visible,
.form-card input[type="range"]:focus-visible {
    outline: 3px solid rgba(121, 38, 58, .18);
    outline-offset: 4px;
    border-radius: 20px;
}

/* Chrome, Safari und aktuelle Edge-Versionen */
.restaurant-detail input[type="range"]::-webkit-slider-runnable-track,
.review-rating-form input[type="range"]::-webkit-slider-runnable-track,
.form-card input[type="range"]::-webkit-slider-runnable-track {
    height: 7px;
    border-radius: 99px;
    background: #e5dadd;
}

.restaurant-detail input[type="range"]::-webkit-slider-thumb,
.review-rating-form input[type="range"]::-webkit-slider-thumb,
.form-card input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 23px;
    height: 23px;
    margin-top: -8px;
    border: 3px solid #fff;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 2px 8px rgba(40, 20, 26, .24);
    cursor: grab;
}

.restaurant-detail input[type="range"]:active::-webkit-slider-thumb,
.review-rating-form input[type="range"]:active::-webkit-slider-thumb,
.form-card input[type="range"]:active::-webkit-slider-thumb {
    cursor: grabbing;
    transform: scale(1.08);
}

/* Firefox */
.restaurant-detail input[type="range"]::-moz-range-track,
.review-rating-form input[type="range"]::-moz-range-track,
.form-card input[type="range"]::-moz-range-track {
    height: 7px;
    border-radius: 99px;
    background: #e5dadd;
}

.restaurant-detail input[type="range"]::-moz-range-progress,
.review-rating-form input[type="range"]::-moz-range-progress,
.form-card input[type="range"]::-moz-range-progress {
    height: 7px;
    border-radius: 99px;
    background: var(--red);
}

.restaurant-detail input[type="range"]::-moz-range-thumb,
.review-rating-form input[type="range"]::-moz-range-thumb,
.form-card input[type="range"]::-moz-range-thumb {
    width: 17px;
    height: 17px;
    border: 3px solid #fff;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 2px 8px rgba(40, 20, 26, .24);
    cursor: grab;
}

/* Ausgabe der jeweiligen Punktzahl */
.restaurant-detail .review-slider-value,
.restaurant-detail .review-rating-form output,
.restaurant-detail #bewerten output {
    display: inline-block;
    min-width: 3.2em;
    margin-left: 5px;
    color: var(--red);
    font-family: Manrope, sans-serif;
    font-size: 16px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

/* Gesamtwert im Bewertungsformular */
.restaurant-detail .review-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 22px 0;
    padding: 16px 18px;
    border: 1px solid #ead8de;
    border-radius: 12px;
    background: #fcf6f8;
}

.restaurant-detail .review-total strong,
.restaurant-detail .review-total output {
    color: var(--red);
    font-family: Manrope, sans-serif;
    font-size: 24px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}

.restaurant-detail .review-rating-form textarea,
.restaurant-detail #bewerten.form-card textarea {
    display: block;
    width: 100%;
    min-height: 130px;
    padding: 12px 14px;
    border: 1px solid #ddd5d8;
    border-radius: 9px;
    background: #fff;
    color: var(--ink);
    resize: vertical;
}

.restaurant-detail .review-rating-form textarea:focus,
.restaurant-detail #bewerten.form-card textarea:focus {
    border-color: #b77b89;
    outline: 3px solid rgba(121, 38, 58, .10);
}

/* Die animierten Bewertungsbalken behalten ihre Startbreite 0. */
.restaurant-detail .score-track {
    width: 100%;
    height: 8px;
    overflow: hidden;
    border-radius: 99px;
    background: #eee8ea;
}

.restaurant-detail .score-track > span {
    display: block;
    height: 100%;
    width: 0;
    border-radius: 99px;
    background: var(--red);
    transition: width 1.25s cubic-bezier(.22, .8, .25, 1);
}

.restaurant-detail .score-track.is-visible > span {
    width: var(--score-width);
}

@media (max-width: 650px) {
    .restaurant-detail .detail-hero-image,
    .restaurant-detail .detail-food-image {
        aspect-ratio: 4 / 3;
        max-height: 420px;
    }

    .restaurant-detail .review-total {
        align-items: flex-start;
        flex-direction: column;
        gap: 5px;
    }

    .restaurant-detail input[type="range"],
    .review-rating-form input[type="range"],
    .form-card input[type="range"] {
        height: 40px;
        margin-bottom: 18px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .restaurant-detail .score-track > span {
        transition: none;
    }
}


/* Einzelbewertungen vollständig zentrieren */

.review-slider-item {
    text-align: center;
}

.review-slider-heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
}

.review-slider-heading > div:first-child {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.review-slider-heading label {
    text-align: center;
}

.review-slider-heading small {
    display: block;
    text-align: center;
}

.review-slider-value {
    display: flex;
    justify-content: center;
    align-items: baseline;
    text-align: center;
}

.review-slider-scale {
    display: flex;
    justify-content: space-between;
    width: 100%;
    text-align: center;
}

/* Mehr Abstand zwischen den einzelnen Bewertungen */

.review-sliders {
    display: flex;
    flex-direction: column;
    gap: 38px;
}

.review-slider-item {
    padding-bottom: 8px;
}

@media (max-width: 650px) {
    .review-sliders {
        gap: 32px;
    }
}

/* Gästestimmen – Nutzerbewertungen zentrieren */

.restaurant-detail .reviews-heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 10px;
}

.restaurant-detail .reviews-heading > div {
    text-align: center;
}

.restaurant-detail .reviews-heading .section-kicker,
.restaurant-detail .reviews-heading h2 {
    text-align: center;
}

.restaurant-detail .reviews-heading .review-count {
    text-align: center;
}


/* =====================================================
   SCHMECKT.COOL – RESTAURANTÜBERSICHT
===================================================== */

.directory-page {
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
}

/* EINLEITUNG */

.directory-intro {
    max-width: 760px;
    margin: 55px auto 42px;
    text-align: center;
}

.directory-intro .eyebrow {
    margin-bottom: 14px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #79263a;
}

.directory-intro h1 {
    margin: 0 0 16px;
    text-align: center;
}

.directory-intro > p:last-child {
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.7;
    color: #777;
    text-align: center;
}

/* FILTER PANEL */

.directory-filter-panel {
    max-width: 900px;
    margin: 0 auto 55px;
    padding: 32px;
    background: #fff;
    border: 1px solid #eaeaea;
    border-radius: 18px;
    box-shadow: 0 8px 30px rgba(0,0,0,.045);
}

.directory-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* SUCHFELD */

.directory-search label,
.directory-field label {
    display: block;
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 650;
    color: #292929;
}

.directory-search-field {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 58px;
    padding: 5px 6px 5px 17px;
    background: #f7f7f7;
    border: 1px solid #e8e8e8;
    border-radius: 11px;
    transition: border-color .2s, box-shadow .2s;
}

.directory-search-field:focus-within {
    border-color: #79263a;
    box-shadow: 0 0 0 3px rgba(121,38,58,.08);
}

.directory-search-icon {
    font-size: 28px;
    line-height: 1;
    color: #888;
}

.directory-search-field input {
    flex: 1;
    min-width: 0;
    height: 44px;
    padding: 0;
    border: 0;
    outline: 0;
    background: transparent;
    font: inherit;
    font-size: 14px;
}

.directory-search-field input:focus {
    outline: none;
    box-shadow: none;
}

.directory-search-button {
    min-height: 44px;
    padding: 0 23px;
    border: 0;
    border-radius: 8px;
    background: #79263a;
    color: #fff;
    font-size: 13px;
    font-weight: 650;
    cursor: pointer;
    transition: background .2s;
}

.directory-search-button:hover {
    background: #5f1d2d;
}

/* AUSWAHLFELDER */

.directory-selects {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.directory-field select {
    width: 100%;
    min-height: 49px;
    padding: 0 38px 0 14px;
    border: 1px solid #e5e5e5;
    border-radius: 9px;
    background-color: #fafafa;
    color: #292929;
    font-family: inherit;
    font-size: 13px;
    cursor: pointer;
}

.directory-field select:focus {
    outline: none;
    border-color: #79263a;
}

/* BESONDERE MERKMALE */

.directory-options {
    padding-top: 21px;
    border-top: 1px solid #ededed;
}

.directory-options-title {
    display: block;
    margin-bottom: 13px;
    font-size: 13px;
    font-weight: 650;
    color: #292929;
}

.directory-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.directory-chip {
    position: relative;
    display: inline-flex;
    cursor: pointer;
}

.directory-chip input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.directory-chip span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 39px;
    padding: 0 16px;
    border: 1px solid #e5e5e5;
    border-radius: 30px;
    background: #fff;
    color: #555;
    font-size: 12px;
    font-weight: 550;
    transition: all .2s;
}

.directory-chip:hover span {
    border-color: #79263a;
}

.directory-chip input:checked + span {
    border-color: #79263a;
    background: #f8edf0;
    color: #79263a;
    font-weight: 700;
}

.directory-chip input:focus-visible + span {
    outline: 2px solid #79263a;
    outline-offset: 3px;
}

/* BUTTONS */

.directory-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding-top: 5px;
}

.directory-actions .button {
    min-height: 46px;
    padding-left: 25px;
    padding-right: 25px;
    cursor: pointer;
}

.directory-reset {
    color: #777;
    font-size: 13px;
    text-decoration: none;
}

.directory-reset:hover {
    color: #79263a;
}

/* ERGEBNISSE */

.directory-results {
    width: 100%;
}

.directory-results-heading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 7px;
    margin-bottom: 28px;
    text-align: center;
}

.directory-results-heading strong {
    font-size: 19px;
    font-weight: 700;
    color: #252525;
}

.directory-results-heading span {
    font-size: 12px;
    color: #888;
}

/* RESTAURANT GRID */

.directory-results .restaurant-grid {
    width: 100%;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
}

/* LEERER ZUSTAND */

.directory-results .empty-state {
    max-width: 650px;
    margin: 0 auto;
    padding: 55px 25px;
    text-align: center;
    border: 1px solid #eee;
    border-radius: 15px;
    background: #fafafa;
}

.directory-results .empty-state h2 {
    text-align: center;
}

.directory-results .empty-state p {
    margin-bottom: 22px;
    color: #777;
    line-height: 1.6;
}

/* MOBILE */

@media (max-width: 700px) {

    .directory-intro {
        margin: 35px auto 30px;
        padding: 0 10px;
    }

    .directory-filter-panel {
        padding: 21px 16px;
        margin-bottom: 38px;
        border-radius: 13px;
    }

    .directory-form {
        gap: 21px;
    }

    .directory-selects {
        grid-template-columns: 1fr;
        gap: 17px;
    }

    .directory-search-field {
        flex-wrap: wrap;
        padding: 8px 10px;
    }

    .directory-search-field input {
        flex: 1;
        width: 60%;
    }

    .directory-search-button {
        width: 100%;
    }

    .directory-chips {
        gap: 8px;
    }

    .directory-chip span {
        min-height: 37px;
        padding: 0 12px;
        font-size: 11px;
    }

    .directory-actions {
        flex-direction: column;
        gap: 15px;
    }

    .directory-actions .button {
        width: 100%;
    }

    .directory-results-heading strong {
        font-size: 17px;
    }
}

