/*
Theme Name: Naschallee Görlitz
Theme URI: https://www.instagram.com/naschallee_goerlitz/
Author: Aktionskreis für Görlitz
Description: WordPress-Theme für die Naschallee Görlitz – Regionalität, deutsch-polnische Genussregion und Handgemachtes.
Version: 1.0.0
Text Domain: naschallee
*/

:root {
  --ink: #173c33;
  --green: #2d5d4d;
  --sage: #dce6cd;
  --cream: #f6f0e3;
  --paper: #fffdf8;
  --berry: #a53f51;
  --gold: #d49b46;
  --line: rgba(23, 60, 51, .18);
  --shadow: 0 24px 64px rgba(23, 60, 51, .13);
  --radius: 22px;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Avenir Next", Avenir, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--cream); font: 17px/1.6 var(--sans); }
a { color: inherit; }
img { display: block; max-width: 100%; }
.wrap { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.eyebrow { margin: 0 0 10px; color: var(--berry); font-size: .78rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.03; }
h1 { margin: 0; font-size: clamp(3.5rem, 9vw, 8rem); letter-spacing: -.055em; }
h2 { margin: 0 0 20px; font-size: clamp(2.3rem, 5vw, 4.6rem); letter-spacing: -.04em; }
h3 { margin: 0 0 10px; font-size: 1.65rem; }
p { margin: 0 0 1rem; }
.button { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 12px 19px; border: 1px solid var(--ink); border-radius: 999px; background: var(--ink); color: white; font-size: .9rem; font-weight: 750; text-decoration: none; transition: .2s ease; }
.button:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(23,60,51,.18); }
.button.light { background: transparent; color: var(--ink); }
.site-header { position: sticky; z-index: 20; top: 0; border-bottom: 1px solid rgba(255,255,255,.25); background: rgba(246,240,227,.92); backdrop-filter: blur(14px); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--serif); font-size: 1.35rem; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50% 50% 46% 54%; background: var(--green); color: white; font: 700 1.2rem var(--serif); transform: rotate(-8deg); }
.nav { display: flex; align-items: center; gap: 22px; font-size: .87rem; font-weight: 700; }
.nav a { text-decoration: none; }
.hero { position: relative; min-height: 84vh; display: grid; align-items: end; overflow: hidden; color: white; background: #153b32; }
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .72; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,39,32,.88) 0%, rgba(10,39,32,.42) 58%, rgba(10,39,32,.18)), linear-gradient(0deg, rgba(10,39,32,.72), transparent 50%); }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.3fr .7fr; align-items: end; gap: 50px; padding: 110px 0 68px; }
.hero-copy { max-width: 820px; }
.hero-kicker { display: inline-flex; gap: 11px; align-items: center; padding: 8px 13px; margin-bottom: 22px; border: 1px solid rgba(255,255,255,.55); border-radius: 999px; background: rgba(255,255,255,.1); font-size: .8rem; font-weight: 700; backdrop-filter: blur(8px); }
.hero-sub { max-width: 610px; margin: 24px 0 30px; font-size: clamp(1.05rem, 2vw, 1.35rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .button { border-color: white; background: white; color: var(--ink); }
.hero .button.light { background: transparent; color: white; }
.next-card { padding: 26px; border: 1px solid rgba(255,255,255,.45); border-radius: var(--radius); background: rgba(247,241,229,.13); backdrop-filter: blur(12px); }
.date-big { display: block; font: 500 3.8rem/1 var(--serif); }
.next-card .meta { display: grid; gap: 8px; margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.3); font-size: .9rem; }
.ribbon { overflow: hidden; padding: 15px 0; background: var(--berry); color: white; white-space: nowrap; }
.ribbon-track { width: max-content; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; animation: marquee 30s linear infinite; }
@keyframes marquee { to { transform: translateX(-50%); } }
.section { padding: 105px 0; }
.intro-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: start; }
.lead { font: 500 clamp(1.55rem, 3vw, 2.55rem)/1.25 var(--serif); }
.pill-row { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 28px; }
.pill { padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.45); font-size: .8rem; font-weight: 700; }
.photo-grid { display: grid; grid-template-columns: 1.25fr .75fr; grid-template-rows: 250px 250px; gap: 16px; margin-top: 55px; }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.photo-grid img:first-child { grid-row: 1 / 3; }
.green-section { background: var(--ink); color: white; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 42px; }
.section-head p { max-width: 540px; opacity: .78; }
.trader-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.trader-card { position: relative; display: flex; min-height: 310px; flex-direction: column; justify-content: space-between; padding: 28px; overflow: hidden; border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); background: rgba(255,255,255,.075); text-decoration: none; transition: .22s ease; }
.trader-card:hover { transform: translateY(-5px); background: rgba(255,255,255,.12); }
.trader-card .number { font: 500 3rem/1 var(--serif); color: var(--gold); }
.trader-card .category { color: var(--sage); font-size: .74rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.trader-card .arrow { position: absolute; top: 24px; right: 24px; font-size: 1.35rem; }
.schedule { display: grid; grid-template-columns: repeat(7, 1fr); gap: 10px; margin-top: 42px; }
.date-tile { padding: 20px 15px; border: 1px solid var(--line); border-radius: 16px; background: var(--paper); }
.date-tile.next { color: white; background: var(--berry); }
.date-tile.past { opacity: .5; }
.date-tile .day { font: 500 2rem/1 var(--serif); }
.date-tile .month { display: block; margin: 6px 0 20px; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.date-tile time { font-size: .76rem; font-weight: 700; }
.visit-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 22px; margin-top: 42px; }
.map-card { min-height: 500px; padding: 40px; border-radius: var(--radius); background: var(--sage); display: flex; flex-direction: column; justify-content: space-between; }
.map-art { position: relative; min-height: 280px; margin: 20px 0; border: 1px solid var(--line); border-radius: 16px; background: repeating-linear-gradient(28deg, transparent 0 33px, rgba(23,60,51,.09) 34px 36px), var(--cream); overflow: hidden; }
.map-art iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-consent-note { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 10px; padding: 28px; text-align: center; }
.map-consent-note[hidden] { display: none; }
.map-consent-note strong { font: 500 1.55rem var(--serif); }
.map-consent-note span { max-width: 420px; font-size: .84rem; }
.info-stack { display: grid; gap: 16px; }
.info-card { padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.info-card strong { display: block; margin-bottom: 7px; font: 500 1.35rem var(--serif); }
.weather { position: relative; overflow: hidden; color: white; background: var(--green); }
.weather::after { content:""; position:absolute; width:180px; height:180px; right:-45px; top:-55px; border:1px solid rgba(255,255,255,.35); border-radius:50%; box-shadow: 0 0 0 28px rgba(255,255,255,.05), 0 0 0 58px rgba(255,255,255,.035); }
.weather-temp { font: 500 4rem/1 var(--serif); }
.weather-note { opacity: .78; font-size: .82rem; }
.place-section { background: var(--sage); }
.place-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: center; }
.place-grid img { width: 100%; height: 560px; object-fit: cover; border-radius: 50% 50% 20px 20px; }
.footer { padding: 60px 0 25px; color: white; background: #102d27; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .7fr .7fr; gap: 50px; }
.footer h2 { font-size: 3rem; }
.footer a { color: inherit; }
.legal { display: flex; justify-content: space-between; gap: 20px; margin-top: 50px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.16); font-size: .75rem; opacity: .7; }
.consent-link { padding: 0; border: 0; color: inherit; background: none; font: inherit; text-decoration: underline; cursor: pointer; }
.consent-backdrop { position: fixed; z-index: 1000; inset: 0; display: grid; place-items: end center; padding: 22px; background: rgba(10,35,29,.45); backdrop-filter: blur(5px); }
.consent-backdrop[hidden] { display: none; }
.consent-panel { width: min(960px, 100%); display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; padding: 26px; border: 1px solid rgba(23,60,51,.2); border-radius: 24px; color: var(--ink); background: var(--paper); box-shadow: 0 25px 90px rgba(10,35,29,.28); }
.consent-panel h2 { margin: 0 0 8px; font-size: 2rem; }
.consent-panel p { margin: 0 0 7px; font-size: .9rem; }
.consent-icon { display: grid; place-items: center; width: 55px; height: 55px; border-radius: 50%; color: white; background: var(--green); font: 500 1.7rem var(--serif); }
.consent-actions { display: flex; gap: 10px; align-items: center; }

@media (max-width: 760px) {
  .consent-panel { grid-template-columns: auto 1fr; }
  .consent-actions { grid-column: 1 / -1; flex-direction: column-reverse; align-items: stretch; }
  .consent-actions .button { justify-content: center; }
}
.page-hero { padding: 100px 0 60px; background: var(--sage); }
.archive-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; padding: 55px 0 100px; }
.archive-grid .trader-card { color: white; background: var(--ink); }
.profile-hero { padding: 90px 0 55px; background: var(--sage); }
.profile-layout { display: grid; grid-template-columns: 1fr 340px; gap: 70px; padding: 65px 0 100px; }
.profile-facts { padding: 26px; border-radius: var(--radius); background: var(--paper); box-shadow: var(--shadow); }
.profile-facts dl { margin: 0; }
.profile-facts div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.profile-facts dt { font-size: .7rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.profile-facts dd { margin: 3px 0 0; }
.page-template-default .section h2 { margin-top: 2em; font-size: 2rem; letter-spacing: -.02em; }
.page-template-default .section h3 { margin-top: 1.7em; font-size: 1.4rem; }
.page-template-default .section a { overflow-wrap: anywhere; }

@media (max-width: 900px) {
  .nav { display: none; }
  .hero-inner, .intro-grid, .visit-grid, .place-grid, .profile-layout { grid-template-columns: 1fr; }
  .hero-inner { padding-top: 145px; }
  .trader-grid, .archive-grid { grid-template-columns: repeat(2, 1fr); }
  .schedule { grid-template-columns: repeat(4, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 600px) {
  .wrap { width: min(100% - 26px, 1180px); }
  .section { padding: 75px 0; }
  .hero { min-height: 92vh; }
  .hero-inner { gap: 28px; }
  .next-card { padding: 20px; }
  .section-head { align-items: start; flex-direction: column; }
  .photo-grid { grid-template-columns: 1fr; grid-template-rows: 310px 220px 220px; }
  .photo-grid img:first-child { grid-row: auto; }
  .trader-grid, .archive-grid { grid-template-columns: 1fr; }
  .schedule { grid-template-columns: repeat(2, 1fr); }
  .map-card { min-height: 420px; padding: 25px; }
  .place-grid img { height: 410px; }
  .footer-grid { grid-template-columns: 1fr; }
  .legal { flex-direction: column; }
}
