:root {
  --bg-dark: #16181b;
  --bg-charcoal: #202429;
  --bg-light: #ffffff;
  --bg-stone: #f3f0ea;
  --bg-sand: #e7e2d8;
  --text-main: #1b1e23;
  --text-muted: #5a616b;
  --text-light: #f5f3ee;
  --text-light-muted: #b6bcc4;
  --accent: #d98218;
  --accent-hover: #be6e0e;
  --accent-soft: rgba(217, 130, 24, 0.14);
  --border-light: #ded9cf;
  --border-dark: #30363e;
  --danger: #c63838;
  --success: #247a4b;
  --radius: 6px;
  --radius-lg: 10px;
  --shadow-sm: 0 2px 8px rgba(15, 18, 22, 0.06);
  --shadow-md: 0 12px 32px rgba(15, 18, 22, 0.1);
  --shadow-lg: 0 24px 60px rgba(10, 12, 16, 0.28);
  --font-display: 'Barlow Condensed', system-ui, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 84px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-main);
  background: var(--bg-light);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.1;
  letter-spacing: 0.01em;
  margin: 0 0 0.6em;
  font-weight: 700;
}

h1 {
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  text-transform: uppercase;
}

h2 {
  font-size: clamp(2rem, 3.6vw, 2.85rem);
  text-transform: uppercase;
}

h3 {
  font-size: 1.45rem;
}

p {
  margin: 0 0 1rem;
}

a {
  color: inherit;
  text-decoration: none;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.container {
  width: min(1220px, 100% - 2.5rem);
  margin-inline: auto;
}

.accent-text {
  color: var(--accent);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(22, 24, 27, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-dark);
  color: var(--text-light);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
}

.brand-sub {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-light-muted);
  margin-top: 0.22rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.main-nav a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-light-muted);
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: var(--text-light);
}

.main-nav a.nav-cta {
  background: var(--accent);
  color: #121315;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius);
  font-weight: 700;
}

.main-nav a.nav-cta:hover {
  background: var(--accent-hover);
  color: #fff;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: transparent;
  border: 1px solid var(--border-dark);
  border-radius: var(--radius);
  cursor: pointer;
  padding: 0 9px;
}

.mobile-menu-btn span {
  display: block;
  height: 2px;
  background: var(--text-light);
  border-radius: 2px;
}

.mobile-nav {
  display: grid;
  gap: 0.25rem;
  padding: 0.75rem 1.25rem 1.25rem;
  background: var(--bg-charcoal);
  border-top: 1px solid var(--border-dark);
}

.mobile-nav[hidden] {
  display: none;
}

.mobile-nav a {
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  color: var(--text-light);
}

.mobile-nav a:hover {
  background: rgba(255, 255, 255, 0.06);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-sm {
  padding: 0.48rem 0.9rem;
  font-size: 0.84rem;
}

.btn-full {
  width: 100%;
}

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

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

.btn-secondary {
  background: var(--bg-stone);
  color: var(--text-main);
  border-color: var(--border-light);
}

.btn-secondary:hover {
  background: var(--bg-sand);
}

.btn-outline-light {
  background: transparent;
  color: var(--text-light);
  border-color: rgba(245, 243, 238, 0.35);
}

.btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: var(--text-light);
}

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

.btn-danger:hover {
  background: #a52b2b;
}

/* Hero */
.hero {
  position: relative;
  background: var(--bg-dark);
  color: var(--text-light);
  min-height: 78vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    95deg,
    rgba(16, 18, 21, 0.92) 0%,
    rgba(16, 18, 21, 0.72) 52%,
    rgba(16, 18, 21, 0.36) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-block: 5.5rem 4rem;
  max-width: 760px;
  margin-inline: auto 0;
  margin-left: max(1.25rem, calc((100% - 1220px) / 2));
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.38rem 0.85rem;
  border-radius: 999px;
  background: rgba(217, 130, 24, 0.16);
  border: 1px solid rgba(217, 130, 24, 0.45);
  color: #f4b25c;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent);
}

.hero-lead {
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
  color: #d6dbe0;
  max-width: 58ch;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero-stats-bar {
  position: relative;
  z-index: 2;
  background: rgba(22, 24, 27, 0.9);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}

.hero-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  padding-block: 1.25rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  border-left: 2px solid var(--accent);
  padding-left: 0.9rem;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text-light);
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-light-muted);
}

/* Sections */
.section {
  padding-block: 5rem;
}

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

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

.section-dark {
  background: var(--bg-dark);
  color: var(--text-light);
}

.topo-bg {
  background-image: radial-gradient(rgba(27, 30, 35, 0.045) 1px, transparent 1px);
  background-size: 22px 22px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.section-desc {
  max-width: 48ch;
  color: var(--text-muted);
  margin: 0;
}

.section-head-dark .section-desc {
  color: var(--text-light-muted);
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 0.7rem;
}

.check-list li {
  position: relative;
  padding-left: 1.65rem;
  font-weight: 600;
}

.check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.about-card-dark {
  background: var(--bg-dark);
  color: var(--text-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-dark);
}

.code-tag {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.pillar-list {
  display: grid;
  gap: 1.4rem;
}

.pillar {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
}

.pillar-num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.pillar h3 {
  margin-bottom: 0.25rem;
  font-size: 1.25rem;
}

.pillar p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-light-muted);
}

/* Cards Grid (Leistungen & Referenzen) */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
}

.content-card {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
  cursor: pointer;
}

.content-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}

.card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: var(--bg-charcoal);
  overflow: hidden;
}

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

.content-card:hover .card-media img {
  transform: scale(1.04);
}

.card-badge {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  background: rgba(22, 24, 27, 0.86);
  color: var(--text-light);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.65rem;
  border-radius: 4px;
  border-left: 3px solid var(--accent);
}

.card-img-count {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  background: rgba(22, 24, 27, 0.82);
  color: var(--text-light);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.55rem;
  border-radius: 4px;
}

.card-body {
  padding: 1.4rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-meta {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-hover);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.35rem;
}

.card-body h3 {
  margin-bottom: 0.55rem;
  color: var(--text-main);
}

.card-excerpt {
  color: var(--text-muted);
  font-size: 0.94rem;
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-link {
  margin-top: auto;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent-hover);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* Filter Bar */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.filter-btn {
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--border-light);
  background: var(--bg-stone);
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover {
  border-color: var(--accent);
}

.filter-btn.is-active {
  background: var(--bg-dark);
  color: var(--text-light);
  border-color: var(--bg-dark);
}

/* Fleet */
.fleet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.fleet-card {
  background: var(--bg-charcoal);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
}

.fleet-tag {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #141517;
  background: var(--accent);
  padding: 0.22rem 0.55rem;
  border-radius: 4px;
  margin-bottom: 0.9rem;
}

.fleet-card p {
  margin: 0;
  color: var(--text-light-muted);
  font-size: 0.93rem;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 3rem;
  align-items: start;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.75rem;
}

.contact-card {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.contact-label {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.contact-val {
  font-weight: 700;
  font-size: 0.95rem;
}

.contact-form {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.contact-form h3 {
  margin-bottom: 1.25rem;
}

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

.field {
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
  margin-bottom: 1rem;
}

.field label {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-main);
}

.field input,
.field select,
.field textarea {
  font-family: var(--font-body);
  font-size: 0.94rem;
  padding: 0.68rem 0.85rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  background: #fff;
  color: var(--text-main);
  transition: border-color 0.2s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
  outline: none;
}

.form-feedback {
  margin: 0.85rem 0 0;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--success);
}

.form-error {
  margin: 0.5rem 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--danger);
}

/* Footer */
.site-footer {
  background: #111316;
  color: var(--text-light-muted);
  border-top: 1px solid var(--border-dark);
  padding-block: 2rem;
  font-size: 0.88rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
}

.footer-brand strong {
  color: var(--text-light);
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.04em;
}

.footer-links {
  display: flex;
  gap: 1.25rem;
}

.link-btn {
  background: none;
  border: none;
  color: var(--text-light-muted);
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  padding: 0;
}

.link-btn:hover {
  color: var(--text-light);
  text-decoration: underline;
}

.footer-copy {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.stealth-admin-btn {
  background: transparent;
  border: none;
  color: rgba(182, 188, 196, 0.25);
  cursor: pointer;
  padding: 4px;
  display: inline-flex;
  align-items: center;
  border-radius: 4px;
  transition: color 0.2s ease;
}

.stealth-admin-btn:hover {
  color: var(--accent);
}

/* Native Dialog Modals */
dialog.modal {
  border: none;
  padding: 0;
  border-radius: var(--radius-lg);
  background: var(--bg-light);
  color: var(--text-main);
  box-shadow: var(--shadow-lg);
  width: min(860px, calc(100% - 2rem));
  max-height: 90vh;
  overflow: hidden;
  opacity: 0;
  transform: translateY(10px) scale(0.98);
  transition: opacity 0.2s ease, transform 0.2s ease, display 0.2s allow-discrete;
}

dialog.modal[open] {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@starting-style {
  dialog.modal[open] {
    opacity: 0;
    transform: translateY(10px) scale(0.98);
  }
}

dialog.modal::backdrop {
  background: rgba(12, 14, 17, 0.72);
  backdrop-filter: blur(4px);
}

dialog.admin-modal {
  width: min(1120px, calc(100% - 2rem));
}

.modal-shell {
  display: flex;
  flex-direction: column;
  max-height: 90vh;
}

.modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-light);
  background: var(--bg-stone);
}

.admin-header {
  background: var(--bg-dark);
  color: var(--text-light);
  border-bottom-color: var(--border-dark);
}

.admin-header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.modal-eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.2rem;
}

.modal-header h2 {
  margin: 0;
  font-size: 1.75rem;
}

.modal-close {
  width: 36px;
  height: 36px;
  border-radius: var(--radius);
  border: 1px solid rgba(128, 128, 128, 0.25);
  background: transparent;
  color: inherit;
  font-size: 1.1rem;
  cursor: pointer;
  flex-shrink: 0;
}

.modal-close:hover {
  background: rgba(128, 128, 128, 0.14);
}

.modal-body {
  padding: 1.5rem;
  overflow-y: auto;
}

/* Detail / Lightbox Gallery */
.gallery-stage {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--bg-dark);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 0.85rem;
}

.gallery-stage img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: rgba(22, 24, 27, 0.72);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.gallery-nav:hover {
  background: var(--accent);
  color: #141517;
}

.gallery-nav.prev { left: 0.75rem; }
.gallery-nav.next { right: 0.75rem; }

.gallery-thumbs {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.thumb-btn {
  padding: 0;
  border: 2px solid transparent;
  border-radius: 4px;
  overflow: hidden;
  width: 78px;
  height: 54px;
  cursor: pointer;
  background: var(--bg-dark);
}

.thumb-btn.is-active {
  border-color: var(--accent);
}

.thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-meta {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.detail-text {
  white-space: pre-line;
  margin: 0;
}

/* Admin UI */
.admin-login-box {
  max-width: 400px;
  margin: 1.5rem auto;
  padding: 1.75rem;
  background: var(--bg-stone);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
}

.login-hint {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.admin-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}

.admin-tab {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  background: var(--bg-stone);
  color: var(--text-main);
  cursor: pointer;
}

.admin-tab.is-active {
  background: var(--accent);
  border-color: var(--accent);
  color: #141517;
}

.admin-split {
  display: grid;
  grid-template-columns: 0.95fr 1.15fr;
  gap: 1.75rem;
  align-items: start;
}

.admin-col-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.admin-col-head h3,
.admin-editor-col h3 {
  margin: 0 0 1rem;
}

.admin-col-head h3 {
  margin: 0;
}

.admin-item-list {
  display: grid;
  gap: 0.75rem;
}

.admin-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 0.85rem;
  align-items: center;
  padding: 0.7rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  background: var(--bg-stone);
}

.admin-item-thumb {
  width: 64px;
  height: 48px;
  object-fit: cover;
  border-radius: 4px;
  background: var(--bg-dark);
}

.admin-item-info strong {
  display: block;
  font-size: 0.94rem;
  line-height: 1.25;
}

.admin-item-info span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.admin-item-actions {
  display: flex;
  gap: 0.4rem;
}

.admin-editor-col {
  background: var(--bg-stone);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.35rem;
}

.image-uploader-box {
  background: #fff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 0.9rem;
  display: grid;
  gap: 0.75rem;
}

.upload-dropzone {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem;
  border: 2px dashed #c8c1b4;
  border-radius: var(--radius);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  text-align: center;
}

.upload-dropzone:hover {
  border-color: var(--accent);
  color: var(--accent-hover);
}

.url-add-row,
.dummy-picker-row {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.url-add-row input,
.dummy-picker-row select {
  flex: 1;
  font-family: var(--font-body);
  font-size: 0.86rem;
  padding: 0.48rem 0.65rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
}

.dummy-picker-row span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}

.admin-img-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
  gap: 0.6rem;
}

.admin-img-chip {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--border-light);
  background: var(--bg-dark);
}

.admin-img-chip img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-img-remove {
  position: absolute;
  top: 3px;
  right: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: none;
  background: rgba(198, 56, 56, 0.92);
  color: #fff;
  font-size: 0.75rem;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.editor-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.settings-card {
  background: var(--bg-stone);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.settings-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1rem;
}

.upload-btn-label {
  text-align: center;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 100;
  background: var(--bg-dark);
  color: var(--text-light);
  border-left: 4px solid var(--accent);
  padding: 0.85rem 1.2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  font-size: 0.9rem;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 960px) {
  .main-nav {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .hero-stats-grid,
  .about-grid,
  .contact-grid,
  .admin-split,
  .settings-grid {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 600px) {
  .section {
    padding-block: 3.5rem;
  }

  .hero-stats-grid,
  .contact-cards,
  .form-row {
    grid-template-columns: 1fr;
  }

  .admin-item {
    grid-template-columns: 52px 1fr;
  }

  .admin-item-actions {
    grid-column: 1 / -1;
    justify-content: flex-end;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
