/* mehrhamburg.de — Design v2 (OMR-Style, hanseatisch-warm, runde Formen)
   Pro Rubrik eine Farbe:
   - Events       → Hanse-Blau
   - Tipps        → Brass-Gold
   - Magazin      → Bordeaux
   - Wochenende   → Elbgrün
*/

/* ============================================================
   1. Variables
   ============================================================ */
:root {
  /* Basis-Palette */
  --paper:        #faf7f2;
  --paper-warm:   #f4ede0;
  --line:         #e8e3d5;
  --line-soft:    #ede8d8;
  --ink:          #0a2540;
  --ink-soft:     #4a5568;
  --muted:        #6b6660;

  /* Rubriken-Farben */
  --color-events:        #0a2540;   /* Hanse-Blau */
  --color-events-soft:   rgba(10, 37, 64, 0.10);
  --color-events-text:   #0a2540;

  --color-tipps:         #b8843a;   /* Brass-Gold */
  --color-tipps-dark:    #8a5f1c;
  --color-tipps-soft:    rgba(184, 132, 58, 0.15);
  --color-tipps-text:    #8a5f1c;

  --color-magazin:       #7a2e3e;   /* Bordeaux */
  --color-magazin-dark:  #5a1e2a;
  --color-magazin-soft:  rgba(122, 46, 62, 0.12);
  --color-magazin-text:  #7a2e3e;

  --color-wochenende:    #2d5a4a;   /* Elbgrün */
  --color-wochenende-dark: #1a3e32;
  --color-wochenende-soft: rgba(45, 90, 74, 0.12);
  --color-wochenende-text: #1a3e32;

  /* Typo */
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif:   'Fraunces', Georgia, serif;

  /* Radien (alles soft) */
  --radius-pill:  999px;
  --radius-card:  20px;
  --radius-card-sm: 16px;
  --radius-hero:  24px;
  --radius-input: 12px;
}

/* ============================================================
   2. Reset & Base
   ============================================================ */
* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--color-tipps); }
img { max-width: 100%; display: block; }

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

.muted { color: var(--muted); }
.center { text-align: center; }

/* ============================================================
   3. Header
   ============================================================ */
.site-header {
  background: var(--ink);
  color: var(--paper);
  border-bottom: 3px solid var(--color-tipps);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  padding-bottom: 14px;
}
.brand {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--paper);
}
.brand .dot { color: var(--color-tipps); }
.site-nav {
  display: flex;
  gap: 28px;
  align-items: center;
}
.site-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--paper);
  opacity: 0.9;
  transition: opacity 0.15s ease, color 0.15s ease;
}
.site-nav a:hover,
.site-nav a.active { opacity: 1; color: var(--color-tipps); }
.site-nav .login-pill {
  border: 1px solid rgba(255,255,255,0.25);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 12px;
}

/* ============================================================
   4. Section-Header (immer mit Kicker + Headline + "Alle X →")
   ============================================================ */
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 22px;
  gap: 16px;
  flex-wrap: wrap;
}
.section-head .titles {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.section-head .kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  align-self: flex-start;
}
.section-head h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 28px;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.section-head .more-link {
  font-size: 12px;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--ink);
  color: var(--ink);
  white-space: nowrap;
}
.section-head .more-link:hover {
  background: var(--ink);
  color: var(--paper);
}

/* Rubriken-Varianten */
.section-events .kicker  { background: var(--color-events-soft); color: var(--color-events-text); }
.section-tipps  .kicker  { background: var(--color-tipps-soft);  color: var(--color-tipps-text); }
.section-tipps  h2       { color: var(--color-tipps-text); }
.section-tipps  .more-link { border-color: var(--color-tipps); color: var(--color-tipps-text); }
.section-tipps  .more-link:hover { background: var(--color-tipps); color: var(--paper); }

.section-magazin .kicker  { background: var(--color-magazin-soft); color: var(--color-magazin-text); }
.section-magazin h2       { color: var(--color-magazin-text); }
.section-magazin .more-link { border-color: var(--color-magazin); color: var(--color-magazin-text); }
.section-magazin .more-link:hover { background: var(--color-magazin); color: var(--paper); }

/* Section-Wrapper */
section { padding: 32px 0; }
section.compact { padding: 16px 0 32px; }

/* ============================================================
   5. Hero (Wochenende)
   ============================================================ */
.hero-wochenende {
  background: linear-gradient(135deg, var(--color-wochenende) 0%, var(--color-wochenende-dark) 100%);
  color: var(--paper);
  border-radius: var(--radius-hero);
  overflow: hidden;
  margin-bottom: 8px;
}
.hero-wochenende__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  min-height: 380px;
}
.hero-wochenende__text {
  padding: 44px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}
.hero-wochenende__text .kicker {
  display: inline-block;
  background: rgba(255,255,255,0.14);
  color: var(--paper);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
  align-self: flex-start;
}
.hero-wochenende h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 44px;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
}
.hero-wochenende p.lede {
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255,255,255,0.85);
  max-width: 440px;
}
.hero-wochenende__cta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.hero-wochenende__image {
  background-size: cover;
  background-position: center;
  background-color: var(--color-wochenende-dark);
  position: relative;
}
.hero-wochenende__image .credit {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(0,0,0,0.55);
  color: #fff;
  padding: 5px 14px;
  font-size: 10px;
  letter-spacing: 0.05em;
  border-radius: var(--radius-pill);
}

/* ============================================================
   6. Buttons
   ============================================================ */
.btn-primary, .btn-secondary, .btn-light {
  display: inline-block;
  padding: 12px 24px;
  font-weight: 700;
  font-size: 13px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: all 0.15s ease;
  font-family: var(--font-body);
  text-align: center;
}
.btn-primary {
  background: var(--color-tipps);
  color: var(--ink);
}
.btn-primary:hover {
  background: var(--ink);
  color: var(--paper);
}
.btn-light {
  background: var(--paper);
  color: var(--ink);
}
.btn-light:hover { background: #fff; }
.btn-secondary {
  background: transparent;
  color: var(--paper);
  border: 1px solid rgba(255,255,255,0.4);
  padding: 11px 22px;
}
.btn-secondary:hover {
  background: rgba(255,255,255,0.1);
}

/* ============================================================
   7. Quick-Pills (Filter unter Section-Header)
   ============================================================ */
.quick-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.quick-pills a {
  background: #fff;
  border: 1px solid var(--line);
  padding: 8px 18px;
  font-size: 12px;
  font-weight: 600;
  border-radius: var(--radius-pill);
  color: var(--ink);
  transition: all 0.15s ease;
}
.quick-pills a:hover { border-color: var(--ink); }
.quick-pills a.active {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

/* ============================================================
   8. Event-Grid (3 Spalten, weiche Karten)
   ============================================================ */
.event-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.event-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.event-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(10, 37, 64, 0.08);
}
.event-card .cover {
  display: block;
  position: relative;
  aspect-ratio: 16/10;
  background-color: var(--color-events);
  background-size: cover;
  background-position: center;
}
.event-card .cover .when {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--color-events);
  color: var(--paper);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 14px;
  letter-spacing: 0.05em;
  border-radius: var(--radius-pill);
}
.event-card .body {
  padding: 18px 20px 22px;
}
.event-card .category {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--color-events-text);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.event-card h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 8px;
}
.event-card h3 a:hover { color: var(--color-tipps); }
.event-card .meta {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.4;
}

/* ============================================================
   9. Tipps-Grid (Mosaik mit großem Hauptbild)
   ============================================================ */
.tipps-mosaic {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 20px;
}
.tip-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card-sm);
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.tip-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(184, 132, 58, 0.12);
}
.tip-card.feature {
  grid-row: span 2;
  border-radius: var(--radius-card);
}
.tip-card .cover {
  display: block;
  position: relative;
  aspect-ratio: 16/9;
  background-size: cover;
  background-position: center;
  background-color: var(--color-tipps);
}
.tip-card.feature .cover {
  aspect-ratio: 4/3;
}
.tip-card .cover .badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--paper);
  color: var(--color-tipps-text);
  font-size: 9px;
  font-weight: 700;
  padding: 4px 12px;
  letter-spacing: 0.12em;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
}
.tip-card.feature .cover .badge {
  font-size: 10px;
  padding: 5px 14px;
}
.tip-card .body {
  padding: 14px 16px 16px;
}
.tip-card.feature .body {
  padding: 24px 26px 26px;
}
.tip-card h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 4px;
}
.tip-card.feature h3 {
  font-weight: 900;
  font-size: 26px;
  line-height: 1.1;
  margin-bottom: 10px;
}
.tip-card .meta {
  font-size: 11px;
  color: var(--muted);
}
.tip-card.feature .lede {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  margin-top: 6px;
}

/* ============================================================
   10. Magazin-Grid (2 Spalten, größere Cards)
   ============================================================ */
.magazin-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.article-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.article-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(122, 46, 62, 0.10);
}
.article-card .cover {
  display: block;
  position: relative;
  aspect-ratio: 16/9;
  background-size: cover;
  background-position: center;
  background-color: var(--color-magazin);
}
.article-card .cover .badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--paper);
  color: var(--color-magazin-text);
  font-size: 11px;
  font-weight: 700;
  padding: 5px 14px;
  letter-spacing: 0.1em;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
}
.article-card .body { padding: 24px 26px 26px; }
.article-card h3 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 22px;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin-bottom: 10px;
}
.article-card .meta {
  font-size: 12px;
  color: var(--muted);
}

/* ============================================================
   11. Tipp-einreichen Box
   ============================================================ */
.tip-submit {
  background: linear-gradient(135deg, #fff 0%, #faf2e8 100%);
  border: 2px solid var(--color-tipps);
  border-radius: 28px;
  padding: 44px 36px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 36px;
  align-items: center;
}
.tip-submit__intro .kicker {
  display: inline-block;
  background: var(--ink);
  color: var(--color-tipps);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}
.tip-submit__intro h2 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 32px;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 14px;
  color: var(--ink);
}
.tip-submit__intro p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}
.tip-submit__form {
  background: #fff;
  padding: 26px;
  border-radius: var(--radius-card);
  border: 1px solid var(--line);
}
.tip-submit__form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 10px;
}
.tip-submit__form input,
.tip-submit__form textarea {
  width: 100%;
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 12px 18px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--ink);
  border-radius: var(--radius-pill);
  margin-bottom: 10px;
  outline: none;
  transition: border-color 0.15s ease;
}
.tip-submit__form textarea {
  border-radius: var(--radius-input);
  resize: vertical;
  min-height: 90px;
  line-height: 1.5;
}
.tip-submit__form input:focus,
.tip-submit__form textarea:focus {
  border-color: var(--color-tipps);
}
.tip-submit__form button {
  width: 100%;
}
.tip-submit__success,
.tip-submit__error {
  padding: 14px 20px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 12px;
}
.tip-submit__success { background: #e8f5e9; color: #1b5e20; }
.tip-submit__error   { background: #ffebee; color: #b71c1c; }

/* ============================================================
   12. Footer
   ============================================================ */
.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: 56px 0 32px;
  margin-top: 60px;
}
.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 36px;
}
.site-footer h4 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-tipps);
  margin-bottom: 14px;
}
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 8px; }
.site-footer a {
  color: rgba(255,255,255,0.75);
  font-size: 13px;
  transition: color 0.15s ease;
}
.site-footer a:hover { color: var(--color-tipps); }
.site-footer .footer-brand .brand {
  font-size: 26px;
  margin-bottom: 12px;
  display: block;
}
.site-footer .footer-brand p {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
  max-width: 280px;
}
.site-footer .footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  flex-wrap: wrap;
  gap: 12px;
}

/* ============================================================
   13. Article / Detail-Pages
   ============================================================ */
.article-page { padding: 48px 0; }
.article-body { max-width: 760px; margin: 0 auto; }
.article-page .article-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--color-tipps-text);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.article-page h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 42px;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}
.article-page .subtitle {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--muted);
  font-size: 18px;
  margin-bottom: 24px;
}
.article-page .byline {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.article-page .content {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
}
.article-page .content p { margin-bottom: 18px; }
.article-page .content a {
  color: var(--color-tipps-text);
  text-decoration: underline;
}
.divider {
  border: none;
  border-top: 1px solid var(--line);
  margin: 32px 0;
}

/* ============================================================
   14. Masthead (Sub-Pages: /events/, /tipps/, /magazin/)
   ============================================================ */
.masthead {
  background: var(--paper-warm);
  padding: 60px 0 40px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.masthead .kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-tipps-text);
  background: var(--color-tipps-soft);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
}
.masthead h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 52px;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 14px;
}
.masthead .lede {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--muted);
  font-size: 19px;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.5;
}

/* ============================================================
   15. Responsive
   ============================================================ */
@media (max-width: 960px) {
  .hero-wochenende__inner { grid-template-columns: 1fr; }
  .hero-wochenende__image { min-height: 240px; }
  .hero-wochenende h1 { font-size: 32px; }
  .hero-wochenende__text { padding: 32px 28px; }

  .event-grid { grid-template-columns: repeat(2, 1fr); }
  .tipps-mosaic { grid-template-columns: 1fr 1fr; }
  .tip-card.feature { grid-row: span 1; grid-column: span 2; }
  .magazin-grid { grid-template-columns: 1fr; }

  .tip-submit { grid-template-columns: 1fr; padding: 32px 26px; }

  .section-head h2 { font-size: 22px; }
  .masthead h1 { font-size: 36px; }

  .site-footer .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 600px) {
  .container { padding: 0 18px; }
  .event-grid { grid-template-columns: 1fr; }
  .tipps-mosaic { grid-template-columns: 1fr; }
  .tip-card.feature { grid-column: span 1; }
  .hero-wochenende h1 { font-size: 26px; }
  .masthead h1 { font-size: 28px; }
  .tip-submit__form .row { grid-template-columns: 1fr; }
  .site-nav { display: none; }
  .site-footer .footer-grid { grid-template-columns: 1fr; }
}
