/* =========================================================
   Kulturverein Kloster Cornberg – Stylesheet
   Farbsprache: warmer Sandstein, Cremeweiß, tiefes Petrol
   ========================================================= */

:root {
  --color-sand-50:  #fbf6ee;
  --color-sand-100: #f4ead8;
  --color-sand-200: #e7d6b3;
  --color-sand-300: #d4b787;
  --color-clay-500: #b07a4a;
  --color-clay-600: #99623a;
  --color-clay-700: #7a4d2d;
  --color-stone-900: #2a221b;
  --color-stone-700: #4a3f35;
  --color-stone-500: #6f6253;
  --color-petrol:   #2c5560;
  --color-petrol-dark: #1f3d45;
  --color-ivory:    #fefcf7;
  --color-line:     rgba(42, 34, 27, 0.12);

  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --radius-sm: 6px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --shadow-sm: 0 4px 16px rgba(42, 34, 27, 0.06);
  --shadow-md: 0 12px 36px rgba(42, 34, 27, 0.10);
  --shadow-lg: 0 24px 64px rgba(42, 34, 27, 0.16);

  --container: 1200px;
  --container-narrow: 880px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.7;
  color: var(--color-stone-900);
  background: var(--color-ivory);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a {
  color: var(--color-petrol);
  text-decoration: none;
  transition: color 0.2s var(--ease);
}
a:hover { color: var(--color-clay-600); }

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.15;
  color: var(--color-stone-900);
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.2rem; font-family: var(--font-sans); font-weight: 600; }

p { margin: 0 0 1em; }

.container       { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: var(--container-narrow); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-clay-600);
  margin-bottom: 1rem;
}

/* ======================== HEADER / NAV ======================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(254, 252, 247, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--color-line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: var(--container);
  margin: 0 auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--color-stone-900);
  text-decoration: none;
}
.brand:hover { color: var(--color-stone-900); }

.brand-logo {
  height: 48px;
  width: auto;
  display: block;
  transition: opacity 0.2s var(--ease);
}
.brand-logo:hover { opacity: 0.85; }

@media (max-width: 600px) {
  .brand-logo { height: 40px; }
}

.brand-logo-footer { height: 56px; }
@media (max-width: 600px) {
  .brand-logo-footer { height: 44px; }
}

.nav-links {
  display: flex;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}
.nav-links a {
  display: inline-block;
  padding: 8px 14px;
  font-size: 0.95rem;
  color: var(--color-stone-700);
  border-radius: var(--radius-sm);
  transition: all 0.2s var(--ease);
}
.nav-links a:hover,
.nav-links a.active {
  background: var(--color-sand-100);
  color: var(--color-stone-900);
}

.nav-cta {
  background: var(--color-petrol) !important;
  color: var(--color-ivory) !important;
  padding: 10px 18px !important;
  margin-left: 8px;
  border-radius: 999px !important;
}
.nav-cta:hover { background: var(--color-petrol-dark) !important; }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--color-stone-900);
  margin: 6px 0;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--color-ivory);
    padding: 12px 16px 20px;
    gap: 4px;
    box-shadow: var(--shadow-md);
    border-bottom: 1px solid var(--color-line);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.25s var(--ease);
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links a { padding: 12px 14px; }
  .nav-cta { margin: 6px 0 0; text-align: center; }
}

/* ======================== HERO ======================== */

.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-stone-900);
  color: var(--color-ivory);
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.55);
  transform: scale(1.04);
  animation: heroZoom 20s ease-out forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(42, 34, 27, 0.55) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
  padding: 80px 24px;
  margin: 0 auto;
  text-align: center;
}
.hero h1 {
  color: var(--color-ivory);
  margin-bottom: 0.4em;
  text-shadow: 0 4px 24px rgba(0,0,0,0.4);
}
.hero h1 em {
  font-style: italic;
  color: var(--color-sand-200);
}
.hero p.lead {
  font-size: 1.2rem;
  color: rgba(254, 252, 247, 0.9);
  max-width: 580px;
  margin: 0 auto 2.2rem;
}
.hero .eyebrow {
  color: var(--color-sand-200);
}

/* ======================== BUTTONS ======================== */

.btn {
  display: inline-block;
  padding: 14px 30px;
  font-family: var(--font-sans);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  transition: all 0.25s var(--ease);
  text-align: center;
}
.btn-primary {
  background: var(--color-clay-600);
  color: var(--color-ivory);
  box-shadow: 0 6px 24px rgba(153, 98, 58, 0.35);
}
.btn-primary:hover {
  background: var(--color-clay-700);
  color: var(--color-ivory);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(153, 98, 58, 0.45);
}
.btn-ghost {
  background: transparent;
  color: var(--color-ivory);
  border: 1.5px solid rgba(254, 252, 247, 0.5);
  margin-left: 12px;
}
.btn-ghost:hover {
  background: rgba(254, 252, 247, 0.12);
  color: var(--color-ivory);
  border-color: var(--color-ivory);
}
.btn-dark {
  background: var(--color-stone-900);
  color: var(--color-ivory);
}
.btn-dark:hover {
  background: var(--color-petrol-dark);
  color: var(--color-ivory);
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  color: var(--color-stone-900);
  border: 1.5px solid var(--color-stone-900);
}
.btn-outline:hover {
  background: var(--color-stone-900);
  color: var(--color-ivory);
}

/* ======================== SECTIONS ======================== */

section { padding: 100px 0; }
@media (max-width: 700px) { section { padding: 70px 0; } }

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
}
.section-head p {
  color: var(--color-stone-500);
  font-size: 1.08rem;
}

/* Alternating tinted bands */
.bg-sand   { background: var(--color-sand-50); }
.bg-paper  { background: linear-gradient(180deg, var(--color-ivory) 0%, var(--color-sand-50) 100%); }
.bg-dark   { background: var(--color-stone-900); color: var(--color-ivory); }
.bg-dark h2, .bg-dark h3 { color: var(--color-ivory); }
.bg-dark .eyebrow { color: var(--color-sand-200); }

/* ======================== INTRO / FEATURES ======================== */

.intro-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 900px) {
  .intro-grid { grid-template-columns: 1fr; gap: 50px; }
}
.intro-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
}
.intro-image img {
  width: 100%; height: 100%; object-fit: cover;
}
.intro-image .badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: var(--color-ivory);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  font-family: var(--font-serif);
  box-shadow: var(--shadow-md);
}
.intro-image .badge strong {
  display: block;
  font-size: 1.8rem;
  color: var(--color-clay-600);
}
.intro-image .badge span {
  font-size: 0.8rem;
  color: var(--color-stone-500);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.feature-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 60px;
}
.feature-card {
  background: var(--color-ivory);
  padding: 32px 26px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-line);
  transition: all 0.3s var(--ease);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-sand-300);
}
.feature-card .icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--color-sand-100);
  color: var(--color-clay-700);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  font-size: 1.5rem;
}
.feature-card h3 { font-size: 1.25rem; margin-bottom: 8px; }
.feature-card p { color: var(--color-stone-500); margin: 0; font-size: 0.97rem; }

/* ======================== EVENTS ======================== */

.event-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}
.event-card {
  background: var(--color-ivory);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s var(--ease);
  display: flex;
  flex-direction: column;
}
.event-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.event-image {
  aspect-ratio: 16/10;
  background-size: cover;
  background-position: center;
  position: relative;
}
.event-image .date {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--color-ivory);
  padding: 10px 14px;
  border-radius: 10px;
  font-family: var(--font-serif);
  text-align: center;
  box-shadow: var(--shadow-sm);
  min-width: 70px;
}
.event-image .date strong {
  display: block;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--color-clay-600);
}
.event-image .date span {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-stone-500);
}
.event-body {
  padding: 24px 26px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.event-body .tag {
  display: inline-block;
  padding: 4px 10px;
  background: var(--color-sand-100);
  color: var(--color-clay-700);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  margin-bottom: 12px;
  font-weight: 600;
}
.event-body h3 { font-size: 1.4rem; }
.event-meta {
  font-size: 0.9rem;
  color: var(--color-stone-500);
  margin: 10px 0 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.event-meta span::before { content: "·"; margin-right: 8px; color: var(--color-clay-500); }
.event-meta span:first-child::before { content: ""; margin: 0; }
.event-body p { color: var(--color-stone-700); font-size: 0.97rem; }
.event-body .btn { margin-top: auto; align-self: flex-start; }

/* ================ Zeitstrahl (Geschichts-Seite) ================ */
.timeline {
  max-width: 880px;
  margin: 60px auto 0;
  position: relative;
  padding-left: 32px;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--color-clay-500) 0%, var(--color-sand-200) 100%);
}
.tl-item {
  position: relative;
  padding-bottom: 40px;
}
.tl-item:last-child { padding-bottom: 0; }
.tl-marker {
  position: absolute;
  left: -28px;
  top: 6px;
  width: 18px;
  height: 18px;
  background: var(--color-clay-600);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--color-sand-50), 0 0 0 6px var(--color-clay-600);
}
.tl-content {
  background: var(--color-ivory);
  padding: 24px 28px;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.tl-content:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.tl-year {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--color-clay-600);
  margin-bottom: 6px;
  line-height: 1.1;
}
.tl-title {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-stone-900);
  margin: 0 0 10px;
}
.tl-text {
  color: var(--color-stone-700);
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.65;
}

@media (max-width: 600px) {
  .timeline { padding-left: 24px; }
  .timeline::before { left: 6px; }
  .tl-marker { left: -22px; width: 14px; height: 14px; }
  .tl-content { padding: 20px 22px; }
}

/* Bereinigte Veranstaltungs-Beschreibung (HTML aus DB) */
.event-description p { margin: 0 0 1em; }
.event-description p:last-child { margin-bottom: 0; }
.event-description h2, .event-description h3, .event-description h4 {
  margin-top: 1.5em;
  margin-bottom: 0.5em;
  font-family: var(--font-serif);
}
.event-description ul, .event-description ol { margin: 0.5em 0 1em 1.4em; }
.event-description li { margin-bottom: 0.4em; }
.event-description a { color: var(--color-clay-600); text-decoration: underline; }
.event-description a:hover { color: var(--color-clay-700); }
.event-description b, .event-description strong { font-weight: 600; color: var(--color-stone-900); }

/* ======================== CTA BANNER ======================== */

.cta-banner {
  background: linear-gradient(135deg, var(--color-petrol) 0%, var(--color-petrol-dark) 100%);
  color: var(--color-ivory);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 20%, rgba(212, 183, 135, 0.18) 0%, transparent 50%),
                    radial-gradient(circle at 80% 80%, rgba(212, 183, 135, 0.12) 0%, transparent 50%);
  pointer-events: none;
}
.cta-banner h2 { color: var(--color-ivory); margin-bottom: 0.4em; }
.cta-banner p { color: rgba(254, 252, 247, 0.85); font-size: 1.1rem; margin-bottom: 2rem; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-banner .btn-primary { background: var(--color-clay-500); }
.cta-banner .btn-primary:hover { background: var(--color-clay-600); }

/* ======================== GALERIE ======================== */

.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
  grid-auto-rows: 200px;
}
.gallery a {
  overflow: hidden;
  border-radius: var(--radius-md);
  position: relative;
  display: block;
}
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.gallery a:hover img { transform: scale(1.06); }

.gallery a::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(42, 34, 27, 0.55) 100%);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.gallery a:hover::after { opacity: 1; }

.gallery .caption {
  position: absolute;
  bottom: 16px;
  left: 18px;
  color: var(--color-ivory);
  font-family: var(--font-serif);
  font-size: 1.2rem;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.3s var(--ease);
  z-index: 2;
}
.gallery a:hover .caption { opacity: 1; transform: translateY(0); }

.g-tall  { grid-column: span 4; grid-row: span 2; }
.g-wide  { grid-column: span 8; grid-row: span 1; }
.g-sq    { grid-column: span 4; grid-row: span 1; }
.g-half  { grid-column: span 6; grid-row: span 1; }

@media (max-width: 900px) {
  .gallery { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 160px; }
  .g-tall  { grid-column: span 6; grid-row: span 2; }
  .g-wide, .g-sq, .g-half { grid-column: span 6; grid-row: span 1; }
}

/* ======================== FORMS ======================== */

.form-wrapper {
  background: var(--color-ivory);
  padding: 48px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-line);
}
@media (max-width: 700px) { .form-wrapper { padding: 28px 22px; } }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }

.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-stone-700);
}
.form-group label .req { color: var(--color-clay-600); }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--color-stone-900);
  background: var(--color-sand-50);
  border: 1.5px solid transparent;
  border-radius: var(--radius-sm);
  transition: all 0.2s var(--ease);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-clay-500);
  background: var(--color-ivory);
  box-shadow: 0 0 0 4px rgba(176, 122, 74, 0.15);
}
.form-group textarea { min-height: 140px; resize: vertical; }

.checkbox-group {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 24px;
  font-size: 0.92rem;
  color: var(--color-stone-700);
}
.checkbox-group input { margin-top: 4px; }

.form-feedback {
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
  display: none;
}
.form-feedback.success {
  background: #e8f3ee;
  color: #1f5c3a;
  border: 1px solid #b8dcc6;
  display: block;
}
.form-feedback.error {
  background: #fbe9e7;
  color: #8b2c1f;
  border: 1px solid #f0c4be;
  display: block;
}

/* ======================== INFO LIST / CONTACT ======================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}
.contact-info { padding-top: 12px; }
.contact-info h3 { margin-bottom: 20px; }

.info-item {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--color-line);
}
.info-item:last-child { border-bottom: 0; }
.info-item .icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-sand-100);
  color: var(--color-clay-700);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}
.info-item h4 { margin: 0 0 4px; font-size: 0.95rem; }
.info-item p, .info-item a { margin: 0; color: var(--color-stone-500); font-size: 0.97rem; }
.info-item a:hover { color: var(--color-clay-600); }

/* ======================== HEADER STRIPE (für Unterseiten) ======================== */

.page-header {
  position: relative;
  padding: 140px 0 80px;
  background: var(--color-stone-900);
  color: var(--color-ivory);
  text-align: center;
  overflow: hidden;
}
.page-header .hero-bg {
  filter: brightness(0.4);
}
.page-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(42, 34, 27, 0.5) 0%, rgba(42, 34, 27, 0.85) 100%);
  z-index: 1;
}
.page-header .container {
  position: relative;
  z-index: 2;
}
.page-header h1 { color: var(--color-ivory); margin-bottom: 12px; }
.page-header p {
  color: rgba(254, 252, 247, 0.85);
  font-size: 1.15rem;
  max-width: 620px;
  margin: 0 auto;
}
.page-header .eyebrow { color: var(--color-sand-200); }

/* Breadcrumb */
.breadcrumb {
  font-size: 0.85rem;
  color: rgba(254, 252, 247, 0.6);
  margin-bottom: 16px;
}
.breadcrumb a { color: rgba(254, 252, 247, 0.85); }
.breadcrumb a:hover { color: var(--color-ivory); }

/* ======================== FOOTER ======================== */

.site-footer {
  background: var(--color-stone-900);
  color: rgba(254, 252, 247, 0.8);
  padding: 70px 0 30px;
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }

.site-footer h4 {
  color: var(--color-ivory);
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 18px;
  letter-spacing: 0.02em;
}
.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.site-footer ul li { margin-bottom: 10px; }
.site-footer ul a {
  color: rgba(254, 252, 247, 0.7);
  transition: color 0.2s var(--ease);
}
.site-footer ul a:hover { color: var(--color-ivory); }
.site-footer .brand { color: var(--color-ivory); margin-bottom: 16px; }
.site-footer .brand:hover { color: var(--color-ivory); }
.site-footer .brand-text small { color: rgba(254, 252, 247, 0.55); }
.site-footer p { color: rgba(254, 252, 247, 0.7); }

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(254, 252, 247, 0.12);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: rgba(254, 252, 247, 0.5);
}

/* ======================== UTILITIES ======================== */

.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.hidden { display: none !important; }

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Focus states */
:focus-visible {
  outline: 2px solid var(--color-clay-500);
  outline-offset: 3px;
  border-radius: 2px;
}

/* Print */
@media print {
  .site-header, .site-footer, .nav-toggle { display: none; }
}
