/*
 * MTG Platform
 * Copyright (c) 2026 Kevin Moseri
 * All rights reserved.
 */



/* === MTG HOMEPAGE VISUAL DOMINANCE LAYER === */

.mtg-card{
  border-radius:18px;
  border:1px solid rgba(15,23,42,.06);
  background:#fff;
  box-shadow:
    0 1px 2px rgba(15,23,42,.04),
    0 8px 24px rgba(15,23,42,.06);
  transition:all .25s ease;
}

.mtg-card:hover{
  transform:translateY(-2px);
  box-shadow:
    0 2px 6px rgba(15,23,42,.08),
    0 14px 36px rgba(15,23,42,.10);
}

.mtg-section{
  border-radius:26px;
  background:linear-gradient(180deg,#f8fafc 0%,#f1f5f9 100%);
  border:1px solid rgba(15,23,42,.05);
  padding:48px;
}

.mtg-eyebrow{
  display:inline-block;
  font-size:12px;
  font-weight:600;
  letter-spacing:.08em;
  padding:6px 12px;
  border-radius:999px;
  margin-bottom:12px;
}

/* TOOL COLOR SYSTEM */

.mtg-tool-route{
  background:linear-gradient(180deg,#ecfeff,#f0fdfa);
  border:1px solid rgba(31,166,160,.18);
}
.mtg-tool-route .mtg-eyebrow{
  background:rgba(31,166,160,.15);
  color:#1FA6A0;
}

.mtg-tool-customs{
  background:linear-gradient(180deg,#eef2ff,#f8fafc);
  border:1px solid rgba(79,107,237,.18);
}
.mtg-tool-customs .mtg-eyebrow{
  background:rgba(79,107,237,.15);
  color:#4F6BED;
}

.mtg-tool-cost{
  background:linear-gradient(180deg,#f0fdf4,#f8fafc);
  border:1px solid rgba(34,197,94,.18);
}
.mtg-tool-cost .mtg-eyebrow{
  background:rgba(34,197,94,.15);
  color:#16a34a;
}

.mtg-tool-timeline{
  background:linear-gradient(180deg,#faf5ff,#f8fafc);
  border:1px solid rgba(168,85,247,.18);
}
.mtg-tool-timeline .mtg-eyebrow{
  background:rgba(168,85,247,.15);
  color:#9333ea;
}

.mtg-tool-checklist{
  background:linear-gradient(180deg,#fff7ed,#f8fafc);
  border:1px solid rgba(251,146,60,.18);
}
.mtg-tool-checklist .mtg-eyebrow{
  background:rgba(251,146,60,.15);
  color:#f97316;
}

.mtg-tool-planner{
  background:linear-gradient(135deg,#1FA6A0,#0f766e);
  color:#fff;
  border:none;
  transform:scale(1.02);
  box-shadow:0 20px 50px rgba(15,118,110,.25);
}
.mtg-tool-planner .mtg-eyebrow{
  background:rgba(255,255,255,.2);
  color:#fff;
}
.mtg-tool-planner p,
.mtg-tool-planner h3{
  color:#fff;
}

/* CTA BUTTON SYSTEM */

.mtg-btn{
  display:inline-block;
  padding:12px 20px;
  border-radius:12px;
  font-weight:600;
  font-size:14px;
  transition:.2s ease;
}

.mtg-btn-primary{
  background:#1FA6A0;
  color:#fff;
}
.mtg-btn-primary:hover{
  background:#178f89;
}

.mtg-btn-customs{
  background:#4F6BED;
  color:#fff;
}

.mtg-btn-light{
  background:rgba(15,23,42,.05);
  color:#0f172a;
}

.mtg-tools-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
}

@media(max-width:1024px){
  .mtg-tools-grid{
    grid-template-columns:1fr;
  }
}

h1,h2{
  letter-spacing:-0.02em;
}

.mtg-card p{
  color:#475569;
  line-height:1.6;
}

.mtg-faq-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}

.mtg-how-steps{display:flex;gap:24px;align-items:stretch}
.mtg-how-step{position:relative}
.mtg-how-step::before{
  content:attr(data-step);
  position:absolute;
  top:-10px;left:-10px;
  background:#1FA6A0;color:#fff;
  border-radius:999px;
  font-size:12px;
  padding:6px 10px;
}
.mtg-how-step:not(:last-child)::after{
  content:'→';
  position:absolute;
  right:-18px;top:50%;
  transform:translateY(-50%);
  color:#94a3b8;
}
.mtg-how-step:first-child{
  box-shadow:0 0 0 2px rgba(31,166,160,.2);
}


/* === MTG COOKIE BANNER GERMAN-SITE STYLE === */
.mtg-cookie-banner{
  position:fixed;
  left:50%;
  bottom:18px;
  transform:translateX(-50%) translateY(16px);
  width:min(1040px, calc(100% - 28px));
  background:#ffffff;
  border:1px solid #e7ebf3;
  border-radius:28px;
  box-shadow:0 24px 60px rgba(15,23,42,.12);
  padding:26px 28px;
  z-index:9999;
  opacity:0;
  transition:opacity .26s ease, transform .26s ease;
}
.mtg-cookie-banner.is-visible{
  opacity:1;
  transform:translateX(-50%) translateY(0);
}
.mtg-cookie-inner{
  display:grid;
  grid-template-columns:auto 1fr auto;
  gap:18px;
  align-items:start;
}
.mtg-cookie-icon{
  width:60px;
  height:60px;
  border-radius:18px;
  background:#eef2ff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:28px;
  line-height:1;
}
.mtg-cookie-title{
  font-size:16px;
  font-weight:800;
  line-height:1.2;
  color:#0f172a;
  margin:2px 0 8px;
  letter-spacing:-0.02em;
}
.mtg-cookie-copy{
  font-size:14px;
  line-height:1.55;
  color:#475569;
  margin:0 0 10px;
  max-width:720px;
}
.mtg-cookie-link{
  display:inline-block;
  font-size:15px;
  font-weight:700;
  color:#1FA6A0;
  text-decoration:none;
}
.mtg-cookie-link:hover{text-decoration:underline}
.mtg-cookie-actions{
  display:flex;
  flex-direction:column;
  gap:14px;
  min-width:188px;
}
.mtg-cookie-btn{
  all:unset;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:48px;
  padding:0 20px;
  border-radius:12px;
  font-size:14px;
  font-weight:700;
  cursor:pointer;
  transition:.2s ease;
}
.mtg-cookie-btn:hover{
  transform:translateY(-1px);
  box-shadow:0 10px 20px rgba(15,23,42,.08);
}
.mtg-cookie-btn-reject,
.mtg-cookie-btn-settings{
  background:rgba(15,23,42,.05);
  color:#0f172a;
  border:1px solid #d8deea;
}
.mtg-cookie-btn-reject:hover,
.mtg-cookie-btn-settings:hover{
  background:rgba(15,23,42,.08);
}
.mtg-cookie-btn-accept{
  border:none;
  background:#1FA6A0;
  color:#fff;
}
.mtg-cookie-btn-accept:hover{
  background:#178f89;
}
.mtg-cookie-banner.is-hiding{
  opacity:0;
  transform:translateX(-50%) translateY(12px);
}
@media (max-width: 900px){
  .mtg-cookie-inner{
    grid-template-columns:1fr;
  }
  .mtg-cookie-actions{
    min-width:0;
  }
}



/* === MTG CONTACT PAGE DE PARITY === */
.mtg-contact-hero{
  display:grid;
  grid-template-columns:1.2fr .9fr;
  gap:28px;
  align-items:start;
}
.mtg-contact-hero-card{padding:26px 28px}
.mtg-contact-trust-strip{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
  margin-top:22px;
  padding:16px 20px;
  border:1px solid #e6ebf2;
  border-radius:16px;
  background:linear-gradient(90deg,#f7f7ff 0%,#faf9f4 100%);
}
.mtg-contact-trust-strip span{font-weight:700;color:#0f172a;font-size:14px}
.mtg-contact-start-grid .mtg-card{padding:24px}
.mtg-contact-card-link{display:inline-block;margin-top:16px;font-weight:700;color:#0f172a;text-decoration:none}
.mtg-contact-card-link:hover{text-decoration:underline}
.mtg-contact-form-shell{
  background:linear-gradient(180deg,#f7f5ff 0%,#f6f8ff 100%);
  border-radius:28px;
  padding:34px 28px;
}
.mtg-contact-form-card{
  background:rgba(255,255,255,.46);
  border:1px solid #ece9f8;
  border-radius:24px;
  padding:18px;
}
.mtg-contact-form-grid{
  display:grid;
  grid-template-columns:1fr 1.1fr;
  gap:0;
  background:#fff;
  border:1px solid #e6ebf2;
  border-radius:20px;
  padding:24px;
  box-shadow:0 16px 36px rgba(15,23,42,.06);
}
.mtg-contact-form-copy{padding:8px 28px 8px 8px;border-right:1px solid #e9edf5}
.mtg-contact-form-pane{padding:8px 8px 8px 28px}
.mtg-contact-form label{display:block;font-size:13px;font-weight:700;margin:14px 0 6px;color:#0f172a}
.mtg-contact-form input,
.mtg-contact-form textarea,
.mtg-contact-form select{
  width:100%;
  border:1px solid #d9e0ea;
  border-radius:12px;
  min-height:48px;
  padding:12px 14px;
  font-size:14px;
  color:#0f172a;
  background:#fff;
}
.mtg-contact-form textarea{min-height:120px}
.mtg-contact-submit{width:100%;margin-top:14px}
.mtg-contact-success{margin:0 0 12px;color:#1FA6A0;font-weight:700}
.mtg-contact-direct{
  margin-top:18px;
  padding:20px 22px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}
.mtg-contact-direct p{margin:6px 0 0;color:#64748b}
.mtg-contact-faq-grid{
  display:grid;
  grid-template-columns:.95fr 1.15fr;
  gap:28px;
  align-items:start;
}
.mtg-contact-faq-card{padding:18px}
.mtg-contact-faq-card details{
  border:1px solid #e6ebf2;
  border-radius:14px;
  padding:14px 16px;
  background:#fff;
}
.mtg-contact-faq-card details + details{margin-top:12px}
.mtg-contact-faq-card summary{cursor:pointer;font-weight:700;color:#0f172a}
.mtg-contact-faq-card p{margin:12px 0 0;color:#64748b}
@media (max-width:960px){
  .mtg-contact-hero,
  .mtg-contact-form-grid,
  .mtg-contact-faq-grid{grid-template-columns:1fr}
  .mtg-contact-form-copy{border-right:none;border-bottom:1px solid #e9edf5;padding-right:8px;padding-bottom:18px}
  .mtg-contact-form-pane{padding-left:8px;padding-top:18px}
  .mtg-contact-direct{display:block}
  .mtg-contact-trust-strip{grid-template-columns:1fr}
}


/* === MTG FEEDER GUIDE MODE === */
.mtg-feeder-hero{padding:32px;border-radius:28px}
.mtg-feeder-hero h1{margin:0 0 14px;line-height:.98;letter-spacing:-.04em}
.mtg-feeder-lead{max-width:820px;color:#62718c;margin:0 0 18px}
.mtg-feeder-content{padding:32px}
.mtg-feeder-content h2{margin:26px 0 10px}
.mtg-feeder-content h2:first-child{margin-top:0}
.mtg-feeder-list{margin:12px 0 0 20px;padding:0}
.mtg-feeder-list li{margin:8px 0;color:#324158}
.mtg-feeder-next .mtg-card{padding:24px}


/* === FEEDER CONTENT WIDTH FIX === */
.mtg-guide-feeder .mtg-container{max-width:1200px}
.mtg-feeder-content{
  width:100%;
  max-width:none;
}
.mtg-feeder-content > *{
  max-width:none;
}
.mtg-feeder-content img{
  max-width:100%;
  height:auto;
}
.mtg-feeder-content table{
  width:100%;
  max-width:100%;
}


/* === FEEDER TRANSFORMER TEST === */
.mtg-feeder-rich{display:block}
.mtg-feeder-rich .mtg-feeder-block{
  padding:0 0 18px;
  margin:0 0 22px;
  border-bottom:1px solid #dbe4f0;
}
.mtg-feeder-rich .mtg-feeder-block:last-child{
  border-bottom:none;
  margin-bottom:0;
  padding-bottom:0;
}
.mtg-feeder-rich h2{
  font-size:clamp(28px,3vw,42px);
  line-height:1.02;
  letter-spacing:-0.03em;
  margin:0 0 14px;
  color:#13203b;
}
.mtg-feeder-rich h3{
  font-size:24px;
  line-height:1.12;
  letter-spacing:-0.02em;
  margin:18px 0 10px;
  color:#13203b;
}
.mtg-feeder-rich p{
  color:#44546f;
  line-height:1.75;
  margin:0 0 14px;
}
.mtg-feeder-rich ul,
.mtg-feeder-rich ol{
  margin:0 0 14px 22px;
  color:#26344f;
}
.mtg-feeder-rich li{
  margin:7px 0;
  line-height:1.65;
}
.mtg-feeder-rich table{
  border-collapse:collapse;
  margin:16px 0;
  background:#fff;
}
.mtg-feeder-rich table th,
.mtg-feeder-rich table td{
  border:1px solid #bcc9dc;
  padding:10px 12px;
  vertical-align:top;
}
.mtg-feeder-rich table th{
  background:#f4f8fc;
  color:#13203b;
  font-weight:800;
}
.mtg-feeder-rich figure,
.mtg-feeder-rich img{
  display:block;
  margin:16px 0;
}


/* === FEEDER QUESTION BLOCKS === */
.mtg-feeder-qblock{
  padding:0 0 16px;
  margin:0 0 20px;
  border-bottom:1px solid #dbe4f0;
}
.mtg-feeder-qtitle{
  font-size:clamp(18px,1.6vw,22px);
  line-height:1.2;
  letter-spacing:-0.01em;
  font-weight:700;
  color:#13203b;
  margin:0 0 8px;
}
.mtg-feeder-qblock p{
  margin:0;
  color:#44546f;
  line-height:1.75;
}


/* === FEEDER IMAGE WIDTH FIX === */
.mtg-feeder-rich figure{
  width:100%;
  margin:18px 0;
}
.mtg-feeder-rich figure img,
.mtg-feeder-rich > img,
.mtg-feeder-rich .wp-block-image img,
.mtg-feeder-rich p img{
  display:block;
  width:100%;
  max-width:100%;
  height:auto;
  border-radius:14px;
}
