/* dortmund-gastronomie.de — warmes, redaktionell-magaziniges Design */
:root {
  --bg: #fdf9f3;
  --surface: #ffffff;
  --ink: #2b2118;
  --ink-soft: #6b5d4f;
  --accent: #c2410c;
  --accent-dark: #9a3412;
  --accent-soft: #ffedd5;
  --gold: #b45309;
  --line: #ece2d4;
  --radius: 14px;
  --shadow: 0 1px 3px rgba(43, 33, 24, 0.08), 0 4px 16px rgba(43, 33, 24, 0.05);
  --shadow-hover: 0 6px 20px rgba(43, 33, 24, 0.14), 0 2px 6px rgba(43, 33, 24, 0.08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
}
h1, h2, h3, .site-nav, .card-meta, .chip, button, select, input, .btn, .badge, .breadcrumbs {
  font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
h1 { font-size: 1.9rem; line-height: 1.2; margin: 0.6em 0 0.4em; }
h2 { font-size: 1.35rem; line-height: 1.25; margin: 0 0 0.5em; }
h3 { font-size: 1.05rem; margin: 0 0 0.3em; }
a { color: var(--accent-dark); }
a:hover { color: var(--accent); }
.wrap { max-width: 1060px; margin: 0 auto; padding: 0 18px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Header */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; padding: 12px 18px; }
.logo { font-weight: 700; text-decoration: none; color: var(--ink); font-size: 1.02rem; display: flex; align-items: center; gap: 8px; font-family: -apple-system, "Segoe UI", sans-serif; }
.logo-mark { background: var(--accent); color: #fff; border-radius: 8px; padding: 3px 7px; font-size: 0.85rem; letter-spacing: 0.5px; }
.site-nav { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 0.92rem; }
.site-nav a { text-decoration: none; color: var(--ink-soft); padding: 4px 0; }
.site-nav a:hover { color: var(--accent); }
.nav-account { font-weight: 600; color: var(--accent-dark) !important; }

/* ===== HERO MIT BILD ===== */
.hero {
  padding: 44px 0 26px;
  text-align: center;
}
.hero-img {
  position: relative;
  background-image: url('/assets/images/hero.jpg');
  background-size: cover;
  background-position: center 55%;
  background-color: var(--accent-dark); /* Fallback wenn Bild lädt */
  border-radius: var(--radius);
  overflow: hidden;
  margin: 22px 0 36px;
  padding: 0;
  text-align: center;
}
.hero-img::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(18, 8, 3, 0.42) 0%,
    rgba(18, 8, 3, 0.55) 60%,
    rgba(18, 8, 3, 0.72) 100%
  );
  z-index: 0;
}
.hero-overlay {
  position: relative;
  z-index: 1;
  padding: 64px 24px 48px;
  max-width: 760px;
  margin: 0 auto;
}
.hero-img h1 {
  font-family: Georgia, serif;
  font-size: clamp(1.9rem, 5vw, 3rem);
  color: #fff;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
  margin-bottom: 0.3em;
}
.hero-img h1 em { color: #fbbf78; font-style: italic; }
.hero-img .hero-sub {
  color: rgba(255,255,255,0.88);
  max-width: 580px;
  margin: 0 auto 22px;
  font-size: 1.05rem;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.hero-img .chip-row { justify-content: center; margin: 14px 0; }
.hero-img .chip {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.35);
  color: #fff;
  backdrop-filter: blur(4px);
}
.hero-img .chip:hover {
  background: rgba(255,255,255,0.26);
  border-color: rgba(255,255,255,0.6);
  color: #fff;
}
.hero-img .hero-ai { color: rgba(255,255,255,0.82); font-size: 0.95rem; margin-top: 10px; }
.hero-img .hero-ai a { color: rgba(255,255,255,0.9); text-decoration: underline; text-underline-offset: 2px; }

/* Original-Hero (ohne Bild, Fallback) */
.hero h1 { font-family: Georgia, serif; font-size: clamp(1.8rem, 4.5vw, 2.7rem); }
.hero h1 em { color: var(--accent); font-style: italic; }
.hero-sub { color: var(--ink-soft); max-width: 620px; margin: 0 auto 22px; }
.hero-search {
  display: flex; max-width: 620px; margin: 0 auto 14px;
  box-shadow: var(--shadow); border-radius: 999px; overflow: hidden;
  background: var(--surface); border: 1px solid var(--line);
}
.hero-img .hero-search {
  box-shadow: 0 4px 24px rgba(0,0,0,0.35);
  border: none;
}
.hero-search input { flex: 1; border: 0; padding: 14px 22px; font-size: 1rem; outline: none; background: transparent; min-width: 0; }
.hero-search button { border: 0; background: var(--accent); color: #fff; padding: 14px 26px; font-size: 1rem; font-weight: 600; cursor: pointer; white-space: nowrap; }
.hero-search button:hover { background: var(--accent-dark); }
.hero-ai { font-size: 0.95rem; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 12px 0; }
.chip { display: inline-block; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-size: 0.88rem; text-decoration: none; color: var(--ink); }
.chip:hover { border-color: var(--accent); color: var(--accent-dark); }
.chip-static { cursor: default; color: var(--ink-soft); }
main .chip-row { justify-content: flex-start; }

/* Sections */
.section { margin: 40px 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.section-intro { color: var(--ink-soft); margin-top: 0; }
.more-link { font-size: 0.92rem; white-space: nowrap; font-family: -apple-system, "Segoe UI", sans-serif; }
.lead { font-size: 1.12rem; }

/* ===== KARTEN — vollständig klickbar mit Hover ===== */
.card-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); }
.card {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
  position: relative; cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  overflow: hidden;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}
/* Bild-Bereich */
.card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: linear-gradient(135deg, var(--accent-soft) 0%, var(--line) 100%);
}
.card-img img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.35s ease;
}
.card:hover .card-img img { transform: scale(1.05); }

.card-body { padding: 14px 16px 16px; }
.card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }

/* Stretched-Link: der h3-Link überspannt die ganze Karte */
.card-main-link { text-decoration: none; color: var(--ink); }
.card-main-link:hover { color: var(--accent); }
.card-main-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
}
/* Interaktive Elemente über dem Stretched-Link */
.card-top .fav-btn,
.card-meta a,
.card-body .btn,
.card-body form { position: relative; z-index: 1; }

.card h3 a, .card h2 a { text-decoration: none; color: var(--ink); }
.card h3 a:hover, .card h2 a:hover { color: var(--accent); }
.card-claim { color: var(--ink-soft); margin: 4px 0 8px; font-size: 0.97rem; }
.card-meta { font-size: 0.84rem; color: var(--ink-soft); margin: 0; }
.card-meta a { color: var(--ink-soft); }
.card-why { font-size: 0.92rem; border-left: 3px solid var(--accent-soft); padding-left: 10px; margin: 10px 0 0; }
.d26-pos { color: var(--gold); font-weight: 700; font-size: 0.8rem; letter-spacing: 1px; text-transform: uppercase; margin: 0; font-family: -apple-system, sans-serif; }

/* Öffnungsstatus-Badge */
.opening-badge {
  display: inline-block; margin-top: 7px; border-radius: 999px;
  padding: 3px 10px; font-size: 0.78rem; font-weight: 600;
  font-family: -apple-system, "Segoe UI", sans-serif;
}
.status-open { background: #dcfce7; color: #15803d; }
.status-soon { background: #fef9c3; color: #92400e; }
.status-closed { background: #f3f4f6; color: #6b7280; }

/* Merken */
.fav-btn { background: none; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; font-size: 1rem; line-height: 1; padding: 6px 9px; color: var(--accent-dark); position: relative; z-index: 1; }
.fav-btn:hover, .fav-btn.is-fav { background: var(--accent-soft); border-color: var(--accent); }
.fav-btn.is-fav::before { content: ""; }
.fav-btn-large { font-size: 0.95rem; padding: 8px 16px; }

/* Buttons */
.btn { display: inline-block; background: var(--accent); color: #fff !important; text-decoration: none; border: 0; border-radius: 999px; padding: 10px 22px; font-weight: 600; font-size: 0.95rem; cursor: pointer; }
.btn:hover { background: var(--accent-dark); }
.btn-small { padding: 7px 16px; font-size: 0.85rem; }

/* Filter */
.filter-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: end; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; margin: 18px 0; }
.filter-bar label { display: flex; flex-direction: column; gap: 4px; font-size: 0.85rem; color: var(--ink-soft); }
.filter-bar select { padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-size: 0.95rem; }
.filter-bar button { background: var(--accent); color: #fff; border: 0; border-radius: 8px; padding: 9px 20px; font-weight: 600; cursor: pointer; }

/* ===== PROFIL ===== */
.profile-hero {
  width: 100%; height: 320px; overflow: hidden; border-radius: var(--radius);
  margin-bottom: 22px;
  background: linear-gradient(135deg, var(--accent-soft), var(--line));
}
.profile-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.profile-head { border-bottom: 2px solid var(--accent-soft); padding-bottom: 18px; }
.profile-claim { font-size: 1.15rem; color: var(--ink-soft); margin: 4px 0 8px; font-style: italic; }
.d26-callout { background: linear-gradient(120deg, #fff7ed, #ffedd5); border: 1px solid #fed7aa; border-radius: var(--radius); padding: 12px 16px; margin-top: 14px; font-size: 0.97rem; }
.badge { display: inline-block; border-radius: 999px; padding: 2px 10px; font-size: 0.75rem; font-weight: 600; }
.badge-demo { background: #f3f4f6; color: #4b5563; border: 1px dashed #9ca3af; }
.badge-fresh { background: #ecfdf5; color: #047857; }
.badge-pass { background: var(--accent-soft); color: var(--accent-dark); }
.data-note { margin: 8px 0 0; }

/* Menü */
.menu-cat h3 { border-bottom: 1px solid var(--line); padding-bottom: 4px; margin-top: 18px; color: var(--accent-dark); }
.menu-list { list-style: none; padding: 0; margin: 0; }
.menu-list li { padding: 8px 0; border-bottom: 1px dotted var(--line); }
.menu-line { display: flex; justify-content: space-between; gap: 14px; font-weight: 600; }
.menu-price { white-space: nowrap; color: var(--accent-dark); font-family: -apple-system, sans-serif; font-size: 0.95rem; }
.menu-desc { margin: 2px 0 0; color: var(--ink-soft); font-size: 0.92rem; }
.diet { font-size: 0.85em; }

/* Zeiten */
.two-col { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.hours-table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.hours-table caption { text-align: left; font-weight: 700; padding: 10px 14px 4px; font-family: -apple-system, sans-serif; caption-side: top; }
.hours-table th, .hours-table td { padding: 6px 14px; text-align: left; font-size: 0.92rem; border-top: 1px solid var(--line); }
.hours-table th { width: 3.2em; color: var(--ink-soft); font-family: -apple-system, sans-serif; }

/* Dortmund 26 */
.d26-list { margin-top: 26px; }
.d26-entry { display: flex; gap: 18px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.d26-entry-img { flex: 0 0 100px; height: 70px; border-radius: 8px; overflow: hidden; background: linear-gradient(135deg, var(--accent-soft), var(--line)); }
.d26-entry-img img { width: 100%; height: 100%; object-fit: cover; }
.d26-num { flex: 0 0 52px; height: 52px; border-radius: 50%; background: var(--accent); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.25rem; font-family: -apple-system, sans-serif; }
.d26-entry h2 { margin: 2px 0 2px; }
.d26-entry h2 a { text-decoration: none; color: var(--ink); }
.d26-entry h2 a:hover { color: var(--accent); }
.d26-just { margin: 8px 0 0; }

/* Touren */
.tour-stops { list-style: none; padding: 0; counter-reset: stop; }
.tour-stop { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin: 14px 0; box-shadow: var(--shadow); }
.tour-stop h2 { font-size: 1.15rem; }
.tour-stop h2 a { color: var(--accent-dark); text-decoration: none; }

/* ===== KACHELN MIT BILD (Touren, Stadtteile, Themenwelten) ===== */
.card-tile-img {
  aspect-ratio: 16/9; overflow: hidden; border-radius: var(--radius) var(--radius) 0 0;
  background: linear-gradient(135deg, var(--accent-soft), var(--line));
  position: relative;
}
.card-tile-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.35s ease; }
.card:hover .card-tile-img img { transform: scale(1.05); }

/* FAQ */
.faq-item { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 4px 18px; margin: 10px 0; }
.faq-item summary { font-weight: 600; cursor: pointer; padding: 10px 0; font-family: -apple-system, sans-serif; }
.faq-item p { margin-top: 0; color: var(--ink-soft); }

/* Tipps & Angebote */
.tips-list { display: grid; gap: 16px; }
.tip, .offer { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--gold); border-radius: var(--radius); padding: 16px 20px; box-shadow: var(--shadow); }
.tip h2, .tip h3, .offer h2, .offer h3 { margin-top: 0; }
.tip-locked { border-left-color: #9ca3af; text-align: center; padding: 28px 20px; }
.offer { border-left-color: var(--accent); }
.offer-members { background: linear-gradient(120deg, #fffbf5, #fff7ed); }
.offer-valid { font-size: 0.85rem; color: var(--ink-soft); margin-bottom: 0; }

/* Teaser */
.teaser-band { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; }
.teaser-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.teaser { display: flex; flex-direction: column; gap: 4px; text-decoration: none; background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; color: var(--ink); }
.teaser:hover { border-color: var(--accent); }
.teaser strong { font-family: -apple-system, sans-serif; }
.teaser span { font-size: 0.9rem; color: var(--ink-soft); }

/* Challenges */
.challenge-done { opacity: 0.75; background: #f0fdf4; }

/* Breadcrumbs */
.breadcrumbs { font-size: 0.83rem; margin-top: 16px; }
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; color: var(--ink-soft); }
.breadcrumbs li + li::before { content: "›"; margin-right: 6px; }
.breadcrumbs a { color: var(--ink-soft); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); margin-top: 60px; padding: 30px 0 40px; background: var(--surface); font-size: 0.92rem; color: var(--ink-soft); }
.footer-note { font-size: 0.82rem; color: #9ca3af; }
.error-note { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; border-radius: var(--radius); padding: 12px 16px; }

address { font-style: normal; }

/* Portal-bezogene öffentliche Elemente */
.badge-premium { background: #eef2ff; color: #4338ca; }
.notice-live { background: #fef9c3; border: 1px solid #fde047; border-radius: 10px; padding: 8px 14px; font-size: 0.95rem; }
.img-grid { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.img-grid img { width: 100%; height: 160px; object-fit: cover; border-radius: 10px; border: 1px solid var(--line); }
.special-hours { padding-left: 1.2em; }
.allergens { color: #9ca3af; }
.report-form { display: flex; flex-direction: column; gap: 10px; padding: 8px 0 14px; }
.report-form label { display: flex; flex-direction: column; gap: 4px; font-size: 0.88rem; color: var(--ink-soft); font-family: -apple-system, sans-serif; }
.report-form input, .report-form select, .report-form textarea { padding: 9px 12px; border: 1px solid var(--line); border-radius: 8px; font-size: 0.95rem; font-family: inherit; }
.bo-notice { background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; border-radius: 10px; padding: 10px 16px; }

/* Stempelkarte */
.loyalty { max-width: 520px; margin: 30px auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px 26px 20px; text-align: center; }
.stamp-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin: 20px 0; }
.stamp { aspect-ratio: 1; border: 2px dashed var(--line); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; color: #d1d5db; }
.stamp.filled { border-style: solid; border-color: var(--accent); background: var(--accent-soft); color: var(--accent-dark); }

/* Redaktionelle Inhaltsseiten */
.content-page { max-width: 760px; margin: 20px auto; }
.content-page img { max-width: 100%; border-radius: 10px; }

/* ===== BLOG ===== */
.blog-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.blog-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); overflow: hidden;
  position: relative; cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.blog-card-body { padding: 16px 18px; }
.blog-card h2 { margin: 0 0 6px; font-size: 1.08rem; }
.blog-card h2 a { text-decoration: none; color: var(--ink); }
.blog-card h2 a::after { content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit; }
.blog-card h2 a:hover { color: var(--accent); }
.blog-card-meta { font-size: 0.82rem; color: var(--ink-soft); margin: 0 0 8px; }
.blog-card-intro { color: var(--ink-soft); font-size: 0.93rem; margin: 0; }
.badge-ai { background: #f0f9ff; color: #0369a1; border: 1px solid #bae6fd; }

.blog-post { max-width: 760px; margin: 0 auto; }
.blog-post-header { margin-bottom: 28px; }
.blog-post-header h1 { margin-bottom: 10px; }
.blog-post-body p { margin: 0 0 1.2em; }
.blog-source { background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 12px 16px; font-size: 0.88rem; color: var(--ink-soft); margin-top: 28px; }
.blog-source a { color: var(--accent-dark); }

@media (max-width: 640px) {
  .hero-img .hero-overlay { padding: 40px 18px 32px; }
  .hero-img h1 { font-size: 1.65rem; }
  .profile-hero { height: 200px; }
  .d26-entry { gap: 12px; }
  .d26-entry-img { display: none; }
  .d26-num { flex-basis: 42px; height: 42px; font-size: 1.05rem; }
}
