/* ── SUIDO Festival – Shared Stylesheet ─────────────────────────────
   Used by: index.php, impressum.php, datenschutz.php
   ──────────────────────────────────────────────────────────────────── */

/* ── Custom Properties ── */
:root {
  --c-dark:   #0a1a0e;
  --c-nav:    #0d1f14;
  --c-green:  #1f3d2c;
  --c-gold:   #f0c040;
  --c-amber:  #d4870a;
  --c-bg:     #f4f3f0;
  --c-text:   #111;
  --c-muted:  #6b7280;
  --c-border: #e5e7eb;
  --f-sans:   'Inter', sans-serif;
  --f-serif:  'Playfair Display', serif;
}

/* ── Reset ── */
*,*::before,*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
}

/* ── Body base (subpages: light bg) ── */
body {
  font-family: var(--f-sans);
  overflow-x: hidden;
}

/* ── Homepage body override (dark bg) ── */
body.page-home {
  background: #1f3d2c;
  min-height: 100vh;
  overflow-x: hidden;
  color: #fff;
}

/* ── Subpage body ── */
body:not(.page-home) {
  background: var(--c-bg);
  color: var(--c-text);
  margin: 0;
}

/* ── Lang switcher – subpages (.lang-sw) ── */
.lang-sw {
  display: flex;
  gap: 4px;
}
.lang-sw a {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.6);
  border-radius: 5px;
  padding: 4px 9px;
  font-size: .7rem;
  font-weight: 700;
  text-decoration: none;
}
.lang-sw a.on {
  color: #f0c040;
  border-color: rgba(240,192,64,.5);
}

/* ── Lang switcher – homepage (.lang-btn / .lang-switcher) ── */
.lang-switcher {
  pointer-events: auto;
  display: flex;
  gap: 4px;
}
.lang-btn {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.7);
  border-radius: 6px;
  padding: 5px 10px;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-decoration: none;
  transition: all .18s;
}
.lang-btn:hover,
.lang-btn.active {
  background: rgba(240,192,64,.25);
  border-color: rgba(240,192,64,.5);
  color: #f0c040;
}

/* ── Page header (subpages) ── */
.page-header {
  background: #0d1f14;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.header-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: #f0c040;
  text-decoration: none;
}

/* ── Back link ── */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #6b7280;
  font-size: .84rem;
  text-decoration: none;
  margin-bottom: 28px;
  transition: color .15s;
}
.back-link:hover {
  color: #111;
}

/* ── Content wrap (subpages) ── */
.content-wrap {
  max-width: 780px;
  margin: 0 auto;
  padding: 48px 24px 80px;
  min-height: calc(100vh - 200px);
}

/* ── Subpage typography ── */
.content-wrap h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #111;
}
.content-wrap .subtitle {
  color: #6b7280;
  font-size: .9rem;
  margin-bottom: 40px;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 16px;
}
.content-wrap h2 {
  font-size: .78rem;
  font-weight: 800;
  color: #9ca3af;
  margin: 28px 0 10px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.content-wrap p,
.content-wrap address,
.content-wrap li {
  font-size: .93rem;
  line-height: 1.75;
  color: #374151;
  font-style: normal;
  margin: 0 0 8px;
}
.content-wrap a {
  color: #d4870a;
}
.content-wrap ul {
  padding-left: 1.4em;
  margin: 0 0 12px;
}

/* ── Card block ── */
.card-block {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 24px 28px;
  margin-bottom: 16px;
}

/* ── Homepage footer (#footer) ── */
#footer {
  position: relative;
  z-index: 1;
  background: #0a1a0e;
  color: rgba(255,255,255,.55);
  padding: 36px 32px 28px;
  font-family: 'Inter', sans-serif;
}
.footer-wrap {
  max-width: 1100px;
  margin: 0 auto;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand .footer-logo {
  font-family: 'Inter', sans-serif;
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: -.03em;
  color: #f0c040;
  line-height: 1;
  margin-bottom: 4px;
}
.footer-brand .footer-sub {
  font-size: .72rem;
  color: rgba(255,255,255,.3);
  letter-spacing: .03em;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  padding-top: 2px;
}
.footer-nav a {
  color: rgba(255,255,255,.45);
  font-size: .8rem;
  text-decoration: none;
  transition: color .15s;
  white-space: nowrap;
}
.footer-nav a:hover {
  color: #f0c040;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 18px;
}
.footer-organizer {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-da-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.9);
  border-radius: 8px;
  padding: 5px 10px;
  text-decoration: none;
  transition: all .18s;
  flex-shrink: 0;
}
.footer-da-logo:hover {
  background: #fff;
  transform: translateY(-1px);
  box-shadow: 0 3px 12px rgba(0,0,0,.3);
}
.footer-da-logo svg {
  display: block;
}
.footer-org-text {
  font-size: .72rem;
  color: rgba(255,255,255,.38);
  line-height: 1.45;
}
.footer-org-text strong {
  color: rgba(255,255,255,.58);
  font-weight: 600;
  font-size: .73rem;
}
.footer-copy {
  font-size: .7rem;
  color: rgba(255,255,255,.2);
  white-space: nowrap;
}

/* ── Subpage footer (.page-footer) ── */
.page-footer {
  background: #0d1f14;
  color: rgba(255,255,255,.35);
  text-align: center;
  font-size: .75rem;
  padding: 20px;
  margin-top: 0;
}
.page-footer a {
  color: rgba(255,255,255,.45);
  text-decoration: none;
  margin: 0 8px;
}
.page-footer a:hover {
  color: #f0c040;
}
.footer-bgo {
  font-size: .72rem;
  color: rgba(255,255,255,.28);
  margin-bottom: 8px;
  letter-spacing: .02em;
}
.footer-bgo a {
  color: rgba(255,255,255,.4);
  text-decoration: none;
  margin: 0;
  font-weight: 600;
}
.footer-bgo a:hover { color: #f0c040; }

/* ── Legal / Privacy tables ── */
.table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.cookie-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .78rem;
  margin: 8px 0;
  min-width: 420px;
}
.cookie-table th,
.cookie-table td {
  padding: 8px 10px;
  border: 1px solid #e5e7eb;
  text-align: left;
  vertical-align: top;
  line-height: 1.45;
}
.cookie-table th {
  background: #f9fafb;
  font-weight: 600;
  color: #374151;
  white-space: nowrap;
}
.cookie-table tr:nth-child(even) td { background: #fafafa; }
.cookie-table code {
  background: #f3f4f6;
  padding: 1px 5px;
  border-radius: 4px;
  font-size: .76rem;
  color: #374151;
}

/* ── Legal list (rights, bullet points) ── */
.legal-list {
  padding-left: 20px;
  margin: 10px 0 14px;
  color: #374151;
}
.legal-list li {
  margin-bottom: 6px;
  font-size: .88rem;
  line-height: 1.55;
}

/* ── Legal basis highlight ── */
.legal-basis {
  font-size: .84rem;
  color: #6b7280;
  margin-top: 12px;
  padding: 8px 14px;
  background: #fafaf7;
  border-left: 3px solid #f0c040;
  border-radius: 0 6px 6px 0;
}

/* HC overrides for legal elements */
body.hc-mode .cookie-table th { background: #fff; color: #000; border-color: #000; }
body.hc-mode .cookie-table td { border-color: #000; }
body.hc-mode .cookie-table code { background: #eee; color: #000; }
body.hc-mode .legal-basis { background: #fff; border-left-color: #000; color: #000; }
body.hc-mode .legal-list { color: #000; }

/* ── Cookie Banner ── */
#cookieBanner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(8,18,10,.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(240,192,64,.18);
  padding: 10px 20px;
  transform: translateY(110%);
  transition: transform .4s cubic-bezier(.22,.68,0,1.2);
  font-family: 'Inter', sans-serif;
}
#cookieBanner.visible {
  transform: translateY(0);
}
.cb-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: nowrap;
}
.cb-text {
  flex: 1;
  font-size: .76rem;
  line-height: 1.45;
  color: rgba(255,255,255,.58);
}
.cb-title {
  display: inline;
  font-size: .76rem;
  font-weight: 600;
  color: rgba(255,255,255,.8);
  margin-right: 4px;
}
.cb-text strong {
  color: rgba(255,255,255,.75);
  font-weight: 600;
}
.cb-privacy-link {
  color: rgba(240,192,64,.7);
  font-size: .72rem;
  margin-left: 6px;
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}
.cb-privacy-link:hover { color: #f0c040; }
.cb-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
  align-items: center;
}
.cb-decline {
  background: transparent;
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.5);
  border-radius: 8px;
  padding: 6px 14px;
  font-size: .75rem;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  cursor: pointer;
  transition: all .18s;
  white-space: nowrap;
}
.cb-decline:hover {
  border-color: rgba(255,255,255,.4);
  color: rgba(255,255,255,.8);
}
.cb-accept {
  background: rgba(212,135,10,.85);
  border: none;
  color: #fff;
  font-weight: 600;
  border-radius: 8px;
  padding: 6px 16px;
  font-size: .75rem;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all .18s;
  white-space: nowrap;
}
.cb-accept:hover {
  background: #d4870a;
}
@media(max-width:540px) {
  #cookieBanner { padding: 8px 14px; }
  .cb-inner { gap: 10px; }
  .cb-text { font-size: .7rem; line-height: 1.4; }
  .cb-title { font-size: .7rem; }
  .cb-decline { padding: 5px 10px; font-size: .7rem; }
  .cb-accept  { padding: 5px 12px; font-size: .7rem; }
  .cb-privacy-link { display: none; }
}

/* ── Scroll Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .75s cubic-bezier(.22,.68,0,1.1),
              transform .75s cubic-bezier(.22,.68,0,1.1);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }
.reveal-d4 { transition-delay: .4s; }

/* ── Responsive: footer ── */
@media(max-width:560px) {
  #footer { padding: 28px 20px 20px; text-align: center; }
  .footer-top { flex-direction: column; align-items: center; gap: 12px; padding-bottom: 16px; }
  .footer-brand { text-align: center; }
  .footer-nav { flex-direction: row; justify-content: center; gap: 28px; }
  .footer-bottom { flex-direction: column; align-items: center; gap: 12px; padding-top: 14px; }
  .footer-organizer { flex-direction: column; align-items: center; gap: 8px; text-align: center; }
  .footer-org-text { text-align: center; }
  .footer-copy { text-align: center; }
}

/* ── Responsive: content-wrap ── */
@media(max-width:480px) {
  .content-wrap { padding: 32px 16px 60px; }
}

/* ════════════════════════════════════════════════════════════════
   ACCESSIBILITY  (a11y)
   Alle Regeln hier sind unsichtbar für normale Benutzer.
   Sie wirken nur für Screen-Reader, Tastaturnutzer und
   bei aktivierten OS-Einstellungen (hoher Kontrast, Bewegungsreduzierung).
   ════════════════════════════════════════════════════════════════ */

/* ── Skip-to-main link (sichtbar nur bei Tastaturfokus) ── */
.skip-main {
  position: fixed;
  top: -120px;
  left: 16px;
  z-index: 99999;
  background: #f0c040;
  color: #111 !important;
  padding: 10px 22px;
  font-family: var(--f-sans);
  font-size: .88rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,.35);
  transition: top .14s cubic-bezier(.22,.68,0,1.1);
  white-space: nowrap;
}
.skip-main:focus {
  top: 0;
  outline: 3px solid #111;
  outline-offset: 2px;
}

/* ── Focus-Indikator (nur Tastaturnavigation, nicht Maus) ── */
:focus-visible {
  outline: 3px solid #f0c040 !important;
  outline-offset: 3px !important;
  border-radius: 4px !important;
}

/* ── Accessibility-Toggle-Button ── */
.a11y-btn {
  background: transparent;
  border: 1px solid rgba(255,255,255,.22);
  color: rgba(255,255,255,.5);
  border-radius: 6px;
  padding: 5px 9px;
  font-size: .78rem;
  cursor: pointer;
  line-height: 1;
  transition: all .18s;
  flex-shrink: 0;
}
.a11y-btn:hover,
.a11y-btn[aria-pressed="true"] {
  background: rgba(240,192,64,.18);
  border-color: rgba(240,192,64,.5);
  color: #f0c040;
}
/* Subpage variant (darker bg) */
.page-header .a11y-btn {
  border-color: rgba(255,255,255,.18);
}
.a11y-header {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ════════════════════════════════════════════════════════════════
   REDUZIERTE BEWEGUNG — reagiert auf OS-Einstellung
   "Bewegung reduzieren" (macOS/iOS/Android/Windows)
   ════════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  /* Scroll-Reveal sofort einblenden */
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ════════════════════════════════════════════════════════════════
   HOHER KONTRAST — reagiert auf OS "Kontrast erhöhen"
   macOS: System → Bedienungshilfen → Anzeige → Kontrast erhöhen
   iOS: Einstellungen → Bedienungshilfen → Anzeige & Textgröße
   Windows: Einstellungen → Barrierefreiheit → Kontrast
   ════════════════════════════════════════════════════════════════ */
@media (prefers-contrast: high) {
  /* Unterseiten */
  body:not(.page-home) { background: #fff !important; color: #000 !important; }
  .card-block {
    border: 2px solid #000 !important;
    box-shadow: inset 3px 0 0 #8a3c00 !important;
  }
  .content-wrap h1 { color: #000 !important; }
  .content-wrap h2 { color: #000 !important; letter-spacing: .08em; }
  .content-wrap p,
  .content-wrap address { color: #000 !important; }
  .content-wrap a { color: #7a3e00 !important; text-decoration: underline !important; }
  .contact-address { color: #222 !important; }
  .sh-subtitle { color: rgba(255,255,255,.85) !important; }
  /* Homepage */
  .page-home .hero-desc { color: #fff !important; }
  .page-home .about-intro,
  .page-home .feature-text { color: #000 !important; }
  .page-home .feature-card {
    border: 2px solid #333 !important;
    background: #fff !important;
  }
  .page-home .feature-title { color: #000 !important; }
  #about { background: #f5f5f5 !important; }
  .page-footer a { text-decoration: underline; }
}

/* ── Windows High Contrast Mode (Forced Colors) ── */
@media (forced-colors: active) {
  .card-block    { border: 2px solid ButtonText; forced-color-adjust: none; }
  .hero-title    { forced-color-adjust: none; color: #fff; }
  .hero-desc     { forced-color-adjust: none; color: #fff; }
  .btn-cta-outline,
  .cb-accept,
  .cookie-reset-btn { forced-color-adjust: none; }
  .feature-icon  { forced-color-adjust: none; }
  .a11y-btn      { forced-color-adjust: none; }
  .skip-main     { forced-color-adjust: none; }
}

/* ════════════════════════════════════════════════════════════════
   MANUELLER HOCHKONTRAST-MODUS  (body.hc-mode)
   Wird per JS-Toggle aktiviert und in localStorage gespeichert.
   Für User die keine OS-Einstellung nutzen wollen.
   ════════════════════════════════════════════════════════════════ */

/* Unterseiten im HC-Modus */
body.hc-mode:not(.page-home) {
  background: #fff !important;
  color: #000 !important;
}
body.hc-mode .card-block {
  border: 2px solid #000 !important;
  box-shadow: inset 3px 0 0 #8a3c00 !important;
  background: #fff !important;
}
body.hc-mode .content-wrap h1 { color: #000 !important; }
body.hc-mode .content-wrap h2 { color: #000 !important; }
body.hc-mode .content-wrap p,
body.hc-mode .content-wrap address { color: #000 !important; }
body.hc-mode .content-wrap a {
  color: #7a3e00 !important;
  text-decoration: underline !important;
}
body.hc-mode .contact-address { color: #222 !important; }
body.hc-mode .contact-badge { color: #5a2800 !important; background: #ffe8cc !important; }
body.hc-mode .sh-subtitle   { color: rgba(255,255,255,.88) !important; }

/* Homepage im HC-Modus */
body.hc-mode.page-home #about { background: #f4f4f0 !important; }
body.hc-mode.page-home .about-overline,
body.hc-mode.page-home .about-title { color: #000 !important; }
body.hc-mode.page-home .about-intro { color: #000 !important; }
body.hc-mode.page-home .feature-card {
  border: 2px solid #333 !important;
  background: #fff !important;
}
body.hc-mode.page-home .feature-title { color: #000 !important; }
body.hc-mode.page-home .feature-text  { color: #111 !important; }
body.hc-mode.page-home .about-philosophy-text p { color: #000 !important; }
body.hc-mode.page-home .hero-desc { color: #fff !important; text-shadow: 0 1px 8px #000, 0 0 20px #000 !important; }
body.hc-mode.page-home .hero-tagline { color: #ffe160 !important; }
body.hc-mode .page-footer a { text-decoration: underline; }
body.hc-mode .footer-nav a  { text-decoration: underline; }

/* HC-Button aktiv-Indikator */
body.hc-mode .a11y-btn {
  background: rgba(240,192,64,.25) !important;
  border-color: #f0c040 !important;
  color: #f0c040 !important;
}

/* ════════════════════════════════════════════════════════════════
   SUBPAGE HERO BAND  (impressum / datenschutz)
   ════════════════════════════════════════════════════════════════ */
.subpage-hero {
  background: linear-gradient(165deg, #0a1a0e 0%, #1a3828 100%);
  padding: 40px 24px 52px;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.subpage-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 90% 70% at 50% -5%,
              rgba(240,192,64,.08) 0%, transparent 65%);
  pointer-events: none;
}
/* Subtle star dots */
.subpage-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(255,255,240,.55) 1px, transparent 1px),
    radial-gradient(circle, rgba(255,255,240,.35) 1px, transparent 1px);
  background-size: 200px 200px, 137px 137px;
  background-position: 40px 18px, 95px 62px;
  pointer-events: none;
  opacity: .4;
}
.sh-inner {
  position: relative;
  max-width: 780px;
  margin: 0 auto;
  z-index: 1;
}
.sh-nav {
  text-align: left;
  margin-bottom: 24px;
}
.sh-back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: rgba(255,255,255,.38);
  font-size: .8rem;
  font-weight: 500;
  text-decoration: none;
  transition: color .18s;
}
.sh-back:hover { color: rgba(255,255,255,.75); }
.sh-back .fa { font-size: .72rem; }
.sh-content { text-align: center; }
.sh-badge {
  display: inline-block;
  font-size: .65rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: #f0c040;
  border: 1px solid rgba(240,192,64,.3);
  border-radius: 20px;
  padding: 4px 14px;
  margin-bottom: 18px;
}
.subpage-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 900;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.12;
}
.sh-subtitle {
  color: rgba(255,255,255,.42);
  font-size: .83rem;
  line-height: 1.7;
  max-width: 540px;
  margin: 0 auto;
}

/* ════════════════════════════════════════════════════════════════
   IMPROVED CARD BLOCKS  (subpages)
   ════════════════════════════════════════════════════════════════ */
.card-block {
  background: #fff;
  border: 1px solid #eaecf0;
  border-radius: 14px;
  padding: 28px 32px 24px;
  margin-bottom: 14px;
  box-shadow: inset 3px 0 0 #f0c040, 0 1px 4px rgba(0,0,0,.04);
  transition: box-shadow .18s;
}
.card-block:hover {
  box-shadow: inset 3px 0 0 #d4870a, 0 4px 16px rgba(0,0,0,.07);
}
.content-wrap h2 {
  font-size: .7rem;
  font-weight: 800;
  color: #9ca3af;
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: .1em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.content-wrap h2 .fa {
  color: #d4870a;
  font-size: .85rem;
  width: 16px;
  text-align: center;
}

/* ── Contact card (Impressum) ── */
.contact-org {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}
.contact-org strong {
  font-size: 1rem;
  font-weight: 700;
  color: #111;
  line-height: 1.3;
}
.contact-badge {
  font-size: .68rem;
  font-weight: 700;
  color: #d4870a;
  background: rgba(212,135,10,.1);
  border-radius: 20px;
  padding: 2px 9px;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
}
.contact-address {
  font-size: .88rem;
  color: #6b7280;
  line-height: 1.65;
  margin-bottom: 16px;
}
.contact-links {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 16px;
}
.contact-links a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: .88rem;
  color: #374151;
  text-decoration: none;
  transition: color .15s;
}
.contact-links a:hover { color: #d4870a; }
.contact-links .fa {
  color: #d4870a;
  font-size: .8rem;
  width: 14px;
  text-align: center;
}
.contact-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid #f3f4f6;
}
.contact-chip {
  font-size: .74rem;
  color: #9ca3af;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  padding: 3px 10px;
  font-family: 'Inter', monospace;
  letter-spacing: .02em;
}

/* ── Dev card ── */
.dev-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.dev-info strong {
  font-size: .95rem;
  font-weight: 700;
  color: #111;
  display: block;
  margin-bottom: 4px;
}
.dev-info a {
  font-size: .85rem;
}
.dev-badge {
  font-size: .7rem;
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
  border-radius: 20px;
  padding: 5px 14px;
  font-weight: 600;
  white-space: nowrap;
}

/* ── Cookie reset button ── */
.cookie-reset-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  padding: 9px 20px;
  background: linear-gradient(135deg, #f0c040, #d4870a);
  color: #1a0800;
  border: none;
  border-radius: 10px;
  font-size: .82rem;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all .18s;
  box-shadow: 0 2px 8px rgba(212,135,10,.3);
}
.cookie-reset-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(212,135,10,.45);
}

/* ── Cookie consent indicator ── */
.consent-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: .8rem;
  color: #6b7280;
  margin-bottom: 10px;
}
.consent-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #9ca3af;
  flex-shrink: 0;
}
.consent-dot.accepted { background: #22c55e; }
.consent-dot.declined { background: #ef4444; }

/* ── Responsive subpage hero ── */
@media(max-width:540px) {
  .subpage-hero { padding: 28px 16px 38px; }
  .card-block { padding: 20px 18px 18px; }
  .dev-card { flex-direction: column; align-items: flex-start; }
}
