/* ============================================================
   GL-Technics — Unified Stylesheet
   All pages share this file.
   ============================================================ */

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

:root {
  --bg:       #1b2335;
  --bg2:      #1f293f;
  --surface:  #243048;
  --text:     #f4f7fb;
  --text-2:   #dce6f2;
  --muted:    #7a90aa;
  --border:   #2d3e56;
  --cta-bg:   #F2B629;
  --cta-text: #0e1724;
  --btn2-bg:  #2d3e56;
  --gold-glow: rgba(242,182,41,0.18);
  --font:     'Space Grotesk', sans-serif;
  --radius:   12px;
  --max-w:    1200px;
}

html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--font); font-size: 1rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }

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

/* ─── NAV ─────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 2rem;
  background: rgba(27,35,53,0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(242,182,41,0.12);
}
.nav-logo {
  display: flex; align-items: flex-end; gap: 10px;
  font-size: 1.1rem; font-weight: 700; letter-spacing: -0.02em; color: var(--cta-bg);
  transition: opacity .2s;
}
.nav-logo:hover { opacity: .85; }
.nav-logo img {
  height: 48px; width: auto; display: block;
  border-radius: 8px;
}
.nav-logo span { margin-bottom: 6px; }
.nav-links { display: flex; gap: 2rem; }
.nav-links a {
  font-size: 0.9rem; font-weight: 500; color: var(--muted); transition: color .2s;
  position: relative;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0; right: 0;
  height: 1.5px; background: var(--cta-bg);
  transform: scaleX(0); transition: transform .22s; border-radius: 1px;
}
.nav-links a:hover { color: var(--text); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-cta {
  background: linear-gradient(135deg, #F5C030 0%, #E8A818 100%);
  color: var(--cta-text);
  padding: .55rem 1.2rem; border-radius: 8px; font-size: 0.85rem; font-weight: 600;
  transition: box-shadow .2s, transform .2s;
  box-shadow: 0 2px 12px rgba(242,182,41,0.28);
}
.nav-cta:hover { box-shadow: 0 4px 20px rgba(242,182,41,0.42); transform: translateY(-1px); }

/* ─── HERO ────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  padding: 8rem 2rem 5rem;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('https://rjdavx8ozyznxeyh.public.blob.vercel-storage.com/production/websites/infinite-images/21f6cf24-af50-4c19-953c-244a81926d8b-6ECh9HHoV0qscJhn2fBslz53unp6Ey.png');
  background-size: cover; background-position: center;
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(281deg, transparent 20%, rgba(15,22,38,0.88) 48%, #1b2335 90%), rgba(0,0,0,.38);
}
.hero-content {
  position: relative; z-index: 1;
  max-width: 680px;
}
.hero-tag {
  display: inline-block;
  border: 1px solid rgba(242,182,41,.5); border-radius: 999px;
  padding: .3rem .9rem; font-size: .75rem; font-weight: 600; letter-spacing: .08em;
  color: var(--cta-bg); margin-bottom: 1.5rem;
  background: rgba(242,182,41,.08); text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 700; line-height: 1.15;
  letter-spacing: -0.02em; color: var(--text); margin-bottom: 1.25rem;
}
.hero p {
  font-size: clamp(1rem, 1.8vw, 1.15rem); color: var(--text-2); line-height: 1.7;
  max-width: 580px; margin-bottom: 2rem;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary {
  background: linear-gradient(135deg, #F5C030 0%, #E8A818 100%);
  color: var(--cta-text);
  padding: .8rem 1.6rem; border-radius: 8px; font-weight: 700; font-size: .9rem;
  transition: box-shadow .2s, transform .2s; border: none; cursor: pointer;
  box-shadow: 0 2px 14px rgba(242,182,41,0.30); letter-spacing: .01em;
  display: inline-block;
}
.btn-primary:hover { box-shadow: 0 4px 22px rgba(242,182,41,0.48); transform: translateY(-1px); }
.btn-secondary {
  background: var(--btn2-bg); color: var(--text);
  padding: .8rem 1.6rem; border-radius: 8px; font-weight: 600; font-size: .9rem;
  transition: background .2s, border-color .2s; border: 1px solid var(--border); cursor: pointer;
  display: inline-block;
}
.btn-secondary:hover { background: #364a6a; border-color: rgba(242,182,41,.3); }
.btn-outline {
  background: transparent; color: var(--text-2);
  padding: .75rem 1.5rem; border-radius: 8px; font-weight: 500; font-size: .9rem;
  border: 1px solid rgba(45,62,86,.9); transition: border-color .2s, color .2s; cursor: pointer;
  display: inline-block;
}
.btn-outline:hover { border-color: rgba(242,182,41,.55); color: var(--cta-bg); }

/* ─── SECTIONS COMMON ─────────────────────────────── */
section { padding: 5rem 2rem; }
.container { max-width: var(--max-w); margin: 0 auto; }
.section-label {
  font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--cta-bg); margin-bottom: .75rem; opacity: .85;
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 700;
  line-height: 1.2; letter-spacing: -0.025em; color: var(--text); margin-bottom: 1rem;
}
.section-sub {
  font-size: 1.05rem; color: var(--muted); max-width: 580px; line-height: 1.7;
}
.divider { width: 100%; height: 1px; background: var(--border); }

/* ─── LEISTUNGEN ──────────────────────────────────── */
.leistungen { background: var(--bg); }
.leistungen-header {
  display: flex; flex-direction: column; gap: 1rem; max-width: 700px; margin-bottom: 3rem;
}
.leistungen-header-btns { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: .5rem; }

/* ─── SERVICES GRID ───────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.service-card:hover {
  border-color: rgba(242,182,41,.35); transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,.28), 0 0 0 1px rgba(242,182,41,.12);
}
.service-card h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: .6rem; color: var(--text); }
.service-card p { font-size: .9rem; color: var(--muted); line-height: 1.65; }
.service-icon {
  width: 40px; height: 40px; border-radius: 8px;
  background: rgba(242,182,41,.12); display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.1rem;
}
.service-icon svg { width: 20px; height: 20px; stroke: var(--cta-bg); fill: none; stroke-width: 1.8; }
.service-card-img {
  width: calc(100% + 3.5rem); margin: -1.75rem -1.75rem 1.4rem;
  aspect-ratio: 16/9; overflow: hidden;
  border-radius: var(--radius) var(--radius) 0 0;
}
.service-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ─── SUBSECTION DIVIDER ──────────────────────────── */
.sub-section { padding: 5rem 2rem; }
.sub-section.alt { background: var(--bg2); }
.sub-section-inner { max-width: var(--max-w); margin: 0 auto; }
.sub-header { margin-bottom: 2.5rem; }
.sub-header p.section-sub { margin-top: .5rem; }

.two-col-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.btn-row { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; }
.img-box { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; }

/* ─── HAMBURGER / MOBILE MENU ─────────────────────── */
.nav-hamburger {
  display: none; background: none; border: none; cursor: pointer;
  color: var(--text); padding: .25rem; line-height: 0;
}
.nav-hamburger svg { width: 24px; height: 24px; display: block; }

.mobile-menu {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(280px, 80vw);
  background: #1b2640; border-left: 1px solid rgba(242,182,41,.15);
  padding: 5rem 1.5rem 2rem; z-index: 200;
  display: flex; flex-direction: column; gap: 0;
  transform: translateX(100%); visibility: hidden;
  transition: transform .25s ease, visibility .25s;
}
.mobile-menu.open { transform: translateX(0); visibility: visible; }
.mobile-menu a {
  font-size: 1rem; font-weight: 500; color: var(--muted);
  padding: .85rem 0; border-bottom: 1px solid var(--border);
  transition: color .2s;
}
.mobile-menu a:hover { color: var(--text); }
.mobile-menu .mobile-menu-cta {
  background: linear-gradient(135deg, #F5C030 0%, #E8A818 100%);
  color: var(--cta-text);
  border-radius: 8px; text-align: center; font-weight: 700;
  padding: .75rem; margin-top: 1.25rem; border-bottom: none;
  box-shadow: 0 2px 14px rgba(242,182,41,.3);
}
.mobile-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 150;
  opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
}
.mobile-overlay.open { opacity: 1; visibility: visible; }

/* ─── HIGHLIGHT BAND ──────────────────────────────── */
.highlight-band {
  background: linear-gradient(135deg, #1f293f 0%, #243048 100%);
  border-top: 1px solid rgba(242,182,41,.14); border-bottom: 1px solid rgba(242,182,41,.14);
  padding: 4rem 2rem;
}
.highlight-band-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.highlight-band h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 700; line-height: 1.25; margin-bottom: 1rem; }
.highlight-band p { color: var(--muted); font-size: 1rem; line-height: 1.7; }
.highlight-band-btns { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; }

/* ─── BENEFITS ────────────────────────────────────── */
.benefits-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; margin-top: 2.5rem;
}
.benefit-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem;
  border-left: 3px solid var(--cta-bg);
  transition: box-shadow .25s, transform .25s;
}
.benefit-card:hover { box-shadow: 0 6px 28px rgba(0,0,0,.25); transform: translateY(-2px); }
.benefit-card h3 { font-size: 1rem; font-weight: 700; color: var(--cta-bg); margin-bottom: .5rem; }
.benefit-card p { font-size: .9rem; color: var(--muted); line-height: 1.65; }

/* ─── CONTACT SECTION ─────────────────────────────── */
.contact-section {
  background: var(--bg2);
  border-top: 1px solid rgba(242,182,41,.14);
}
.contact-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: start;
}
.contact-left h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 700; line-height: 1.2; margin-bottom: 1rem; }
.contact-left p { color: var(--muted); font-size: .95rem; line-height: 1.7; margin-bottom: 1.5rem; }
.contact-info-row {
  display: flex; align-items: center; gap: .75rem;
  font-size: .9rem; color: var(--muted); margin-bottom: .75rem;
}
.contact-info-row svg { width: 18px; height: 18px; stroke: var(--cta-bg); fill: none; stroke-width: 1.8; flex-shrink: 0; }
.contact-info-row a { color: var(--cta-bg); }
.contact-info-row a:hover { opacity: .8; }
.contact-img {
  margin-top: 2rem; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3;
}
.contact-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.contact-form-box {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 2rem; box-shadow: 0 8px 40px rgba(0,0,0,.22);
}
.contact-form-box h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: .5rem; }
.contact-form-box .form-sub { font-size: .9rem; color: var(--muted); margin-bottom: 1.5rem; line-height: 1.6; }
.form-group { margin-bottom: 1.1rem; }
.form-group label { display: block; font-size: .8rem; font-weight: 600; color: var(--muted); margin-bottom: .4rem; letter-spacing: .04em; }
.form-group input,
.form-group textarea {
  width: 100%; background: #192030; border: 1px solid var(--border);
  border-radius: 8px; padding: .75rem 1rem; color: var(--text); font-family: var(--font); font-size: .95rem;
  transition: border-color .2s; outline: none;
}
.form-group input:focus,
.form-group textarea:focus { border-color: rgba(242,182,41,.6); box-shadow: 0 0 0 3px rgba(242,182,41,.08); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--muted); }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-submit {
  width: 100%; padding: .85rem;
  background: linear-gradient(135deg, #F5C030 0%, #E8A818 100%);
  color: var(--cta-text);
  border: none; border-radius: 8px; font-family: var(--font); font-size: 1rem; font-weight: 700;
  cursor: pointer; transition: box-shadow .2s, transform .2s; margin-top: .25rem;
  box-shadow: 0 2px 14px rgba(242,182,41,.32);
}
.form-submit:hover { box-shadow: 0 4px 22px rgba(242,182,41,.5); transform: translateY(-1px); }
.form-success {
  display: none; align-items: flex-start; gap: .6rem;
  background: rgba(74,222,128,.08); border: 1px solid rgba(74,222,128,.25);
  border-radius: 8px; padding: 1rem 1.25rem; margin-top: 1rem;
  font-size: .9rem; color: var(--text-2);
}

/* ─── VISION ──────────────────────────────────────── */
.vision { background: var(--bg); }
.vision-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.vision-text .section-title { margin-bottom: 1.25rem; }
.vision-text p { font-size: 1rem; color: var(--muted); line-height: 1.75; }
.vision-image {
  border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3;
  background: var(--surface); position: relative;
}
.vision-image img { width: 100%; height: 100%; object-fit: cover; }
.vision-image::after {
  content: ''; position: absolute; inset: 0;
  border: 1px solid rgba(242,182,41,.18); border-radius: var(--radius); pointer-events: none;
}

/* ─── STATS ───────────────────────────────────────── */
.stats { background: var(--bg2); }
.stats-header { margin-bottom: 3rem; }
.stats-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.5rem;
}
.stat-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 2rem 1.75rem; transition: border-color .25s, box-shadow .25s;
}
.stat-card:hover { border-color: rgba(242,182,41,.3); box-shadow: 0 4px 20px rgba(0,0,0,.2); }
.stat-value {
  font-size: clamp(2.2rem, 4vw, 3rem); font-weight: 700; color: var(--cta-bg);
  letter-spacing: -0.03em; line-height: 1;
}
.stat-label {
  font-size: .85rem; font-weight: 600; color: var(--cta-bg);
  margin: .5rem 0; text-transform: uppercase; letter-spacing: .05em;
}
.stat-desc { font-size: .85rem; color: var(--muted); line-height: 1.6; }

/* ─── FOOTER ──────────────────────────────────────── */
footer {
  background: #151e2e; border-top: 1px solid rgba(242,182,41,.12);
  padding: 3rem 2rem;
}
.footer-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; justify-content: space-between; align-items: flex-start; gap: 2rem; flex-wrap: wrap;
}
.footer-brand { font-size: 1rem; font-weight: 700; margin-bottom: .5rem; color: var(--cta-bg); }
.footer-tagline { font-size: .85rem; color: var(--muted); }
.footer-links { display: flex; flex-direction: column; gap: .5rem; }
.footer-links a { font-size: .85rem; color: var(--muted); transition: color .2s; }
.footer-links a:hover { color: var(--cta-bg); }
.footer-bottom {
  max-width: var(--max-w); margin: 2rem auto 0;
  padding-top: 1.5rem; border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
  font-size: .8rem; color: var(--muted);
}

/* ─── GOLD SHIMMER TOP BAR ────────────────────────── */
body::before {
  content: ''; display: block; position: fixed;
  top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent 0%, #F2B629 35%, #F5C030 65%, transparent 100%);
  z-index: 200; opacity: .7;
}

/* ─── IMG-BOX GOLD BORDER ─────────────────────────── */
.img-box { border: 1px solid var(--border); position: relative; }
.img-box::after {
  content: ''; position: absolute; inset: 0;
  border: 1px solid rgba(242,182,41,.12); border-radius: var(--radius); pointer-events: none;
}

/* ─── CONTACT LINKS IN GOLD ───────────────────────── */
.contact-left p a { color: var(--cta-bg); }
.contact-left p a:hover { opacity: .8; }

/* ─── REVEAL ANIMATION ────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── RESPONSIVE ──────────────────────────────────── */
@media (max-width: 768px) {
  nav { padding: .9rem 1.25rem; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-hamburger { display: block; }
  .hero { padding: 7rem 1.25rem 4rem; }
  section { padding: 3.5rem 1.25rem; }
  .vision-inner { grid-template-columns: 1fr; gap: 2rem; }
  .two-col-grid { grid-template-columns: 1fr; gap: 2rem; }
  .contact-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .highlight-band-inner { grid-template-columns: 1fr; gap: 2rem; }
  footer { padding: 2.5rem 1.25rem; }
  .article-body { padding: 2rem 1.25rem 4rem; }
}
@media (max-width: 360px) {
  .services-grid { grid-template-columns: 1fr; }
}

/* ─── BLOG ────────────────────────────────────────── */
.blog-hero {
  padding: 10rem 2rem 5rem;
  background: var(--bg);
}
.blog-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.5rem;
  margin-top: 3rem;
}
.blog-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.75rem; transition: border-color .2s, transform .2s;
}
.blog-card:hover { border-color: rgba(242,182,41,.3); transform: translateY(-2px); }
.blog-card-tag {
  font-size: .7rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--cta-bg); margin-bottom: .75rem;
}
.blog-card h2 { font-size: 1.15rem; font-weight: 700; color: var(--text); margin-bottom: .6rem; line-height: 1.3; }
.blog-card p { font-size: .9rem; color: var(--muted); line-height: 1.65; margin-bottom: 1.25rem; }
.blog-card a.read-more { font-size: .85rem; font-weight: 600; color: var(--cta-bg); }
.blog-card a.read-more:hover { opacity: .8; }

/* ─── ARTICLE ─────────────────────────────────────── */
.article-hero {
  padding: 10rem 2rem 4rem;
  background: var(--bg);
  max-width: var(--max-w); margin: 0 auto;
}
.article-body {
  max-width: 720px; margin: 0 auto; padding: 3rem 2rem 6rem;
}
.article-body h2 { font-size: 1.6rem; font-weight: 700; margin: 2.5rem 0 1rem; color: var(--text); }
.article-body h3 { font-size: 1.2rem; font-weight: 600; margin: 2rem 0 .75rem; color: var(--text); }
.article-body p { font-size: 1rem; color: var(--muted); line-height: 1.8; margin-bottom: 1.25rem; }
.article-body ul { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.article-body li { font-size: 1rem; color: var(--muted); line-height: 1.8; margin-bottom: .4rem; }
.article-cta {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 2rem; margin-top: 3rem; text-align: center;
}
.article-cta h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: .75rem; }
.article-cta p { font-size: .95rem; color: var(--muted); margin-bottom: 1.5rem; }

/* ─── PRIVACY PAGE ────────────────────────────────── */
.privacy-main { padding: 8rem 2rem 5rem; min-height: 100vh; }
.privacy-header { margin-bottom: 3rem; }
.privacy-back {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--cta-bg); font-size: 0.9rem; font-weight: 500;
  margin-bottom: 2rem; transition: opacity .2s;
}
.privacy-back:hover { opacity: .75; }
.privacy-section {
  margin-bottom: 3rem; padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}
.privacy-section:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.privacy-section h2 {
  font-size: 1.3rem; font-weight: 700; color: var(--cta-bg); margin-bottom: 1rem;
}
.privacy-section p { color: var(--muted); line-height: 1.8; margin-bottom: .75rem; }
.privacy-section p:last-child { margin-bottom: 0; }
.privacy-address {
  font-style: normal; background: var(--surface); border: 1px solid var(--border);
  border-radius: 8px; padding: 1rem 1.25rem; margin: 1rem 0;
  color: var(--text); line-height: 2; font-size: .95rem;
}
.privacy-list { list-style: none; margin: .75rem 0; }
.privacy-list li {
  padding: 5px 0 5px 18px; position: relative;
  color: var(--muted); font-size: .9rem; line-height: 1.7;
}
.privacy-list li::before { content: '—'; position: absolute; left: 0; color: var(--cta-bg); }
.privacy-last-updated { font-size: .82rem; color: var(--muted); margin-top: .5rem; }

/* ─── CMS EDIT MODE ───────────────────────────────── */
.cms-editmode [contenteditable]:hover {
  outline: 2px solid rgba(42, 95, 212, 0.6);
  outline-offset: 2px; cursor: text; border-radius: 2px;
}
.cms-editmode [contenteditable]:focus {
  outline: 2px solid #2a5fd4; outline-offset: 2px;
  background: rgba(42, 95, 212, 0.08); border-radius: 2px;
}
.cms-add-panel-btn {
  display: block; margin: 16px auto 0; padding: 8px 20px;
  background: transparent; border: 1px dashed rgba(42,95,212,0.5);
  border-radius: 6px; color: rgba(42,95,212,0.8); font-size: 13px;
  cursor: pointer; transition: border-color 0.15s, color 0.15s;
}
.cms-add-panel-btn:hover { border-color: #2a5fd4; color: #2a5fd4; }
.cms-delete-btn {
  position: absolute; top: 6px; right: 6px;
  width: 22px; height: 22px; background: rgba(220,50,50,0.85);
  border: none; border-radius: 50%; color: #fff; font-size: 14px;
  line-height: 1; cursor: pointer; z-index: 10;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.15s;
}
.service-card:hover .cms-delete-btn,
.portfolio-card:hover .cms-delete-btn,
.flow-card:hover .cms-delete-btn,
.stat-item:hover .cms-delete-btn { opacity: 1; }
.cms-edit-categories-btn {
  display: inline-block; margin-top: 6px; padding: 4px 10px;
  background: transparent; border: 1px dashed rgba(42,95,212,0.5);
  border-radius: 4px; color: rgba(42,95,212,0.8); font-size: 11px; cursor: pointer;
}
.cms-edit-categories-btn:hover { border-color: #2a5fd4; color: #2a5fd4; }
.cms-editmode [data-cms-icon-index] { cursor: pointer; }
.cms-editmode [data-cms-icon-index]:hover { outline: 2px solid rgba(42,95,212,0.5); border-radius: 4px; }
.panel-icon-display {
  display: flex; align-items: center; justify-content: center;
  padding: 28px 20px; min-height: 80px;
}
.panel-icon-display svg { width: 64px; height: 64px; opacity: 0.85; }
.panel-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cms-hide-btn {
  position: absolute; top: 6px; right: 32px;
  width: 22px; height: 22px; background: rgba(40,40,40,0.85);
  border: none; border-radius: 50%; color: #aaa; font-size: 11px;
  line-height: 1; cursor: pointer; z-index: 10;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity 0.15s;
}
.cms-hide-btn--hidden { background: rgba(42,95,212,0.9); color: #fff; opacity: 1 !important; }
.service-card:hover .cms-hide-btn,
.portfolio-card:hover .cms-hide-btn,
.flow-card:hover .cms-hide-btn,
.stat-item:hover .cms-hide-btn { opacity: 1; }
.cms-hidden-panel { outline: 2px dashed rgba(42,95,212,0.75); outline-offset: -2px; }
.service-card.cms-hidden-panel,
.portfolio-card.cms-hidden-panel,
.flow-card.cms-hidden-panel { opacity: 0.45; }
.stat-item.cms-hidden-panel {
  background: rgba(42,95,212,0.18); border-color: rgba(42,95,212,0.55);
}
