/* ============================================
   MAGMA ROCK — Modern Corporate Website
   Design: Minimalist, Professional, Responsive
   ============================================ */

/* --- CSS Variables --- */
:root {
  --primary: #002b32;
  --primary-light: #004d5a;
  --primary-dark: #001a1f;
  --accent: #c8a96e;
  --accent-light: #dbc18a;
  --bg: #f8f6f3;
  --bg-alt: #ffffff;
  --text: #1a1a1a;
  --text-light: #6b6b6b;
  --text-on-dark: #f0ece6;
  --border: #e0ddd8;
  --shadow: 0 4px 30px rgba(0, 43, 50, 0.08);
  --shadow-lg: 0 12px 50px rgba(0, 43, 50, 0.12);
  --radius: 4px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 1200px;
  --nav-height: 80px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Lato', 'Helvetica Neue', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--bg);
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition);
}

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

/* --- Typography --- */
h1, h2, h3, h4 {
  font-weight: 300;
  line-height: 1.2;
  color: var(--primary);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.6rem); font-weight: 400; }
h4 { font-size: 1.1rem; font-weight: 700; letter-spacing: 0.02em; }

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #8a6b28;
  margin-bottom: 12px;
  display: block;
}

.section--dark .section-label {
  color: var(--accent);
}

.section-title {
  margin-bottom: 20px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 680px;
  line-height: 1.8;
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition);
}

.nav.scrolled {
  background: rgba(0, 26, 31, 0.97);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

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

.nav-logo img {
  height: 42px;
  width: auto;
  transition: opacity var(--transition);
}

.nav-logo:hover img {
  opacity: 0.8;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  transition: color var(--transition);
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-lang {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
  border: 1px solid var(--accent);
  padding: 4px 12px;
  border-radius: var(--radius);
  transition: all var(--transition);
}

.nav-lang:hover {
  background: var(--accent);
  color: var(--primary);
}

/* Mobile Menu */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: #fff;
  transition: all var(--transition);
  display: block;
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--primary);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-bg.jpg');
  background-image: -webkit-image-set(url('../images/hero-bg.webp') 1x);
  background-image: image-set(url('../images/hero-bg.webp') type('image/webp'), url('../images/hero-bg.jpg') type('image/jpeg'));
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  transform: scale(1.05);
  transition: transform 8s ease-out;
  will-change: transform;
}

.hero.loaded .hero-bg {
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 26, 31, 0.92) 0%,
    rgba(0, 26, 31, 0.75) 50%,
    rgba(0, 43, 50, 0.85) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  max-width: 900px;
}

.hero-content > picture {
  display: block;
  width: 260px;
  margin: 0 auto 48px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s 0.3s forwards;
}

.hero-logo {
  width: 100%;
}

.hero h1 {
  color: #fff;
  font-weight: 300;
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s 0.6s forwards;
}

.hero-tagline {
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--accent-light);
  font-weight: 300;
  letter-spacing: 0.04em;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s 0.9s forwards;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 0;
  right: 0;
  z-index: 2;
  opacity: 0;
  animation: fadeUp 1s 1.2s forwards;
  display: flex;
  justify-content: center;
  padding-bottom: env(safe-area-inset-bottom, 0);
}

.hero-scroll a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero-scroll .arrow {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.3);
  position: relative;
  overflow: hidden;
}

.hero-scroll .arrow::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--accent);
  animation: scrollDown 2s infinite;
}

/* --- Section Spacing --- */
.section {
  padding: 120px 0;
}

.section--dark {
  background: var(--primary-dark);
  color: var(--text-on-dark);
}

.section--dark h2,
.section--dark h3 {
  color: #fff;
}

.section--dark .section-subtitle {
  color: var(--text-on-dark);
}

.section--alt {
  background: var(--bg-alt);
}

/* --- Values Section --- */
.values-intro {
  text-align: center;
  margin-bottom: 60px;
}

.values-intro .section-subtitle {
  margin: 0 auto;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.value-card {
  background: var(--bg-alt);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
}

.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.value-card-img {
  height: 200px;
  overflow: hidden;
}

.value-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.value-card:hover .value-card-img img {
  transform: scale(1.05);
}

.value-card-body {
  padding: 28px;
}

.value-card-body h3 {
  margin-bottom: 8px;
  color: var(--primary);
}

.value-card-body .quote {
  font-style: italic;
  color: #7d6224;
  font-size: 0.9rem;
  margin-bottom: 12px;
  line-height: 1.5;
}

.value-card-body p {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* --- Track Record Section --- */
.track-record {
  position: relative;
}

.track-record-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/track-record-bg.jpg');
  background-image: -webkit-image-set(url('../images/track-record-bg.webp') 1x);
  background-image: image-set(url('../images/track-record-bg.webp') type('image/webp'), url('../images/track-record-bg.jpg') type('image/jpeg'));
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  opacity: 0.15;
}

.track-tabs {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 48px;
}

.track-tab {
  padding: 12px 32px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  background: none;
}

.track-tab:hover,
.track-tab.active {
  color: #fff;
  background: rgba(200, 169, 110, 0.15);
  border-color: var(--accent);
}

.track-panel {
  display: none;
}

.track-panel.active {
  display: block;
}

.track-items {
  display: grid;
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.track-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  border-left: 3px solid var(--accent);
  transition: background var(--transition);
}

.track-item:hover {
  background: rgba(255, 255, 255, 0.08);
}

.track-item .amount {
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--accent);
  white-space: nowrap;
  min-width: 120px;
}

.track-item p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-on-dark);
}

/* --- Team Section --- */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(440px, 1fr));
  gap: 48px;
  margin-top: 48px;
}

.team-card {
  display: flex;
  gap: 28px;
  align-items: flex-start;
}

.team-photo {
  flex-shrink: 0;
  width: 180px;
  height: 220px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(20%);
  transition: filter var(--transition);
}

.team-card:hover .team-photo img {
  filter: grayscale(0%);
}

.team-info h3 {
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 4px;
}

.team-info .role {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
  display: block;
}

.team-info p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
}

.team-info .qualifications {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

/* --- Gruppe Section --- */
.gruppe-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 36px;
}

.gruppe-item {
  padding: 28px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 90px;
}

.gruppe-item:hover {
  border-color: var(--accent);
  background: rgba(200, 169, 110, 0.08);
}

.gruppe-item h4 {
  color: #fff;
  font-size: 1rem;
}

/* --- Contact Section --- */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: stretch;
}

.contact-info {
  display: flex;
  flex-direction: column;
}

.contact-info h3 {
  margin-bottom: 24px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}

.contact-detail .icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--accent);
}

.contact-detail .icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.contact-detail p {
  font-size: 0.95rem;
  line-height: 1.6;
}

.contact-detail a {
  color: var(--primary-light);
  transition: color var(--transition);
}

.contact-detail a:hover {
  color: var(--accent);
}

.contact-websites {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.contact-websites a {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: var(--primary-light);
}

.contact-websites a:hover {
  color: var(--accent);
}

/* --- Contact Form --- */
.contact-form {
  background: var(--bg-alt);
  padding: 36px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-form h3 {
  margin-bottom: 24px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  font-family: inherit;
  font-size: 0.95rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg);
  color: var(--text);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(200, 169, 110, 0.15);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-light);
  transform: translateY(-1px);
}

.btn-accent {
  background: var(--accent);
  color: var(--primary);
}

.btn-accent:hover {
  background: var(--accent-light);
}

.form-status {
  margin-top: 16px;
  font-size: 0.9rem;
  display: none;
}

.form-status.success {
  color: #2d8a56;
  display: block;
}

.form-status.error {
  color: #c0392b;
  display: block;
}

/* --- Footer --- */
.footer {
  background: var(--primary-dark);
  color: rgba(255, 255, 255, 0.6);
  padding: 60px 0 30px;
}

.footer-center {
  text-align: center;
  margin-bottom: 40px;
}

.footer-center > picture {
  display: block;
  margin: 0 auto 20px;
}

.footer-logo {
  height: 40px;
  width: auto;
  margin: 0 auto;
  opacity: 0.8;
}

.footer-statement {
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.6);
  max-width: 480px;
  margin: 0 auto 28px;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 28px;
  flex-wrap: wrap;
}

.footer-nav a {
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  transition: color var(--transition);
}

.footer-nav a:hover {
  color: var(--accent);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
  margin-left: 24px;
  transition: color var(--transition);
}

.footer-bottom a:hover {
  color: var(--accent);
}

/* --- Animations --- */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scrollDown {
  0% { top: -100%; }
  50% { top: 100%; }
  100% { top: 100%; }
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger children */
.stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.stagger.visible > *:nth-child(1) { transition-delay: 0s; }
.stagger.visible > *:nth-child(2) { transition-delay: 0.1s; }
.stagger.visible > *:nth-child(3) { transition-delay: 0.2s; }
.stagger.visible > *:nth-child(4) { transition-delay: 0.3s; }
.stagger.visible > *:nth-child(5) { transition-delay: 0.4s; }
.stagger.visible > *:nth-child(6) { transition-delay: 0.5s; }

.stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* --- Counter Animation --- */
.counter {
  font-variant-numeric: tabular-nums;
}

/* --- iOS / Tablet Fixes --- */
@supports (-webkit-touch-callout: none) {
  .track-record-bg {
    background-attachment: scroll;
  }
}

/* --- Responsive: Tablet landscape (1024px) --- */
@media (max-width: 1024px) {
  .section {
    padding: 100px 0;
  }

  .hero {
    min-height: 85vh;
    min-height: 85dvh;
  }

  .hero-scroll {
    bottom: 28px;
  }

  .hero-content > picture {
    width: 220px;
    margin-bottom: 36px;
  }

  .team-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-nav {
    gap: 20px;
  }

  .track-item .amount {
    min-width: 100px;
    font-size: 1.3rem;
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* --- Responsive: Tablet portrait / iPad (768px) --- */
@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }

  .section {
    padding: 72px 0;
  }

  .hero {
    min-height: 80vh;
    min-height: 80dvh;
  }

  .hero-content {
    padding: 0 20px;
  }

  .hero-content > picture {
    width: 180px;
    margin-bottom: 28px;
  }

  .hero-scroll {
    bottom: 20px;
  }

  .hero-scroll a {
    font-size: 0.65rem;
  }

  .hero-scroll .arrow {
    height: 30px;
  }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 43, 50, 0.98);
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    font-size: 1.2rem;
    padding: 8px 0;
  }

  .nav-toggle {
    display: flex;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .value-card-img {
    height: 160px;
  }

  .value-card-body {
    padding: 20px;
  }

  .value-card-body .quote {
    font-size: 0.85rem;
  }

  .value-card-body p {
    font-size: 0.9rem;
  }

  .team-card {
    flex-direction: row;
    gap: 20px;
  }

  .team-photo {
    width: 140px;
    height: 170px;
  }

  .team-info p {
    font-size: 0.85rem;
  }

  .track-tabs {
    flex-wrap: wrap;
    gap: 6px;
  }

  .track-tab {
    padding: 10px 20px;
    font-size: 0.8rem;
    min-height: 44px;
  }

  .track-item {
    padding: 20px;
    gap: 12px;
  }

  .track-item .amount {
    min-width: 90px;
    font-size: 1.2rem;
  }

  .track-record-bg {
    background-attachment: scroll;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 28px;
  }

  .footer-nav {
    gap: 16px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .footer-bottom a {
    margin-left: 0;
    margin: 0 12px;
  }

  .gruppe-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .gruppe-item {
    padding: 20px 16px;
    min-height: 70px;
  }

  .gruppe-item h4 {
    font-size: 0.9rem;
  }

  .values-intro {
    margin-bottom: 40px;
  }

  .btn {
    padding: 14px 32px;
    min-height: 48px;
  }
}

/* --- Responsive: Small phone (480px) --- */
@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .section {
    padding: 60px 0;
  }

  .hero {
    min-height: 75vh;
    min-height: 75dvh;
  }

  .hero-content > picture {
    width: 150px;
    margin-bottom: 24px;
  }

  .hero h1 {
    font-size: 1.6rem;
  }

  .hero-tagline {
    font-size: 0.9rem;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .value-card-img {
    height: 180px;
  }

  .value-card-body {
    padding: 24px;
  }

  .team-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .team-photo {
    width: 200px;
    height: 240px;
  }

  .track-item {
    flex-direction: column;
    gap: 8px;
  }

  .track-item .amount {
    min-width: auto;
  }

  .gruppe-grid {
    grid-template-columns: 1fr;
  }

  .contact-form {
    padding: 20px;
  }

  .footer {
    padding: 40px 0 24px;
  }

  .footer-center {
    margin-bottom: 24px;
  }

  .footer-statement {
    font-size: 0.85rem;
  }
}

/* --- Skip Navigation --- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 24px;
  padding: 8px 16px;
  background: var(--accent);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
  z-index: 9999;
  border-radius: 0 0 var(--radius) var(--radius);
  transition: top 0.2s;
}

.skip-link:focus {
  top: 0;
}

/* --- Focus-Visible for Keyboard Navigation --- */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.form-group input:focus-visible,
.form-group textarea:focus-visible,
.form-group select:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(200, 169, 110, 0.15);
}

.nav-links a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
